【Linux】批量结束某一脚本的进程

ps -ef | grep **.sh |grep -v grep | awk '{print $2}' | xargs kill -9

 

posted @ 2019-10-11 08:46  尽  阅读(414)  评论(0)    收藏  举报