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.
Posted by putnam120