netstat -anp|grep 80得到的这个80端口,我如何杀掉该进程

lsof -i :80|grep -v "PID"|awk '{print "kill -9",$2}'|sh

猜你喜欢

转载自daodan988.iteye.com/blog/1703749