Confessions of a Linux noob: killall command
UbuntuI am usually one for taking the hard approach to solving a problem, and then realizing there is a far easier way to approach it afterwards... sometimes *long* afterwards. I almost hate posting this one considering I have now been using Ubuntu about 6 months, but perhaps I am not the only one out there that didn't know this.
Typically when I have to kill a process in Linux, I type in:
>sudo ps -A
This returns a list of all running processes with their process IDs next to them. I then find the process I am looking for and type:
>sudo kill [whatever process ID]
This works just fine, but there is a far quicker way. All you need to do is:
>sudo killall [process name]
This takes care of the problem in a single step. Go ahead... laugh it up Linux guys.





Loading....