pgrep -f 和pkill -f

pgrep -f abc 匹配出含abc的进程 并输出进程的pid

pkill -f abc 杀掉含abc的所有进程

posted @ 2017-02-28 14:37  bass  阅读(1135)  评论(0)    收藏  举报