Murder Murder Murder

You say kill just doesn’t do it for you. Have you tried killall? Oh well in that case I would suggest pkill.

Really pkill is very similar to kill and killall.  If you entered pkill firefox, it would find all processes related to firefox and do away with them right away.  The advantage of doing this over using the ps ux trick mentioned in this post, is that you don’t have to do the searching yourself.  And run the risk of missing a process.  As for an advantage over killall, pkill can be used with regular expressions.  Also, with killall you need to get the name exactly right.  Thus to kill the mozilla browser you would have to run killall mozilla-bin and not killall mozilla.

I personally have not found a need to use pkill as of yet, but you never know when it will come in handy.


One Response to Murder Murder Murder

  1. Miorel says:

    Hah, I kill all the time!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: