liunx查一次杀掉某个端口所有进程

比如杀死80端口:

 lsof -i:80| grep -v 'PID'|awk '{print $2}'|xargs kill

ps -ef|grep python | grep -v 'PID'|awk '{print $2}'|xargs kill

http://proxies.site-digger.com/proxy-test/?proxy=lijunqiang316027648%3A18838733354%40107.160.36.3%3A8888&website=http%3A%2F%2Fwww.flycua.com


你可能感兴趣的:(liunx查一次杀掉某个端口所有进程)