linux 按关键字杀进程

1
kill -9 $(ps -ef | grep process0 | grep -v grep | awk '{print $2}')