debian 运维常用命令

终止所有监听在80口上的进程:

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

你可能感兴趣的:(debian 运维常用命令)