awk 快速批量kill 进程

ps -ef|grep aaa|grep -v grep|awk  '{print "kill -9 " $2}' |sh

  

原文地址:https://www.cnblogs.com/cbugs/p/10914642.html