场景: 日常开放中常遇到需要kill进程,有时候进程有多个怎么办呢? 命令: 以项目中用到chrome为例 命令如下: ps -ef | grep chrome | grep -v grep | cut -c 9-15 | xargs kill -9