Linux批量杀掉挂掉的进程时间:2023-03-09 02:14:44 $ kill - `ps aux | grep test | grep -v grep | awk '{print $2}'` 杀掉含有test且不含有grep的进程,后面的 awk '{print $2}' 是进程号