批量关闭进程

 

ps aux|grep mocha |xargs kill -9

mocha是进程中出现的关键字

原文地址:https://www.cnblogs.com/JohannaFeng/p/5642065.html