常用Linux命令一览

port=9996
netstat -anp | grep $port | head -1 | awk '{print $7}'| awk 'BEGIN{FS="/"} {print $1}' | xargs kill -9

编程技巧