pgrep -f abc 匹配出含abc的进程 并输出进程的pid pkill -f abc 杀掉含abc的所有进程 转载于:https://www.cnblogs.com/bass6/p/6478765.html