前言

Shell批量kill指定关键字的进程

正文

<text>:关键字

1
ps x | grep <text> | grep -v grep | awk '{print $1}' | xargs kill -9

完成

参考文献

CSDN——卞建雄