Search This Blog

Friday, October 2, 2009

Useful Command, pgrep and pkill

Sometimes we want to kill a lot of processes with the same name, pgrep and pkill are userful.

for example, to kill all the idle (I) vlc process,
pkill vlc

then if we use pgrep vlc, we can see that all vlc processes are removed.

No comments: