Code as Fast as You Can Think
"I have only proved my code correct, not tested it" - Donald Knuth
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Unknown
View my complete profile
No comments:
Post a Comment