资讯

Both pkill and killall accept a search clue and kill matching processes. The difference between them is, killall doesnt try to do partial matches like pkill and pgrep, it works with whole names only.
But while killall has the -w flag to wait until the found processes die, pkill doesn't seem to have that option. kill doesn't appear to have this option either so grepping the output of ps doesn't ...