How to kill a process in Ububtu

Open your Terminal.

Type in : ps -aef | grep application name

Then you will get a process number. All you have to do is get that number and then use it as:

kill process-number

Thats how you kill a process in Ubuntu. Easy isn’t it ?

I am writing this because I’ve had to kill a process. This specially happens to me when I accidentally (tripped over some wires) kill power to my system. And when I restart it, some processes do not boot up, as they haven’t been shut down properly. If killing the process does not work, then restart your machine and hope for the best. :)

Here is an example of how you would go about killing a Firefox instance.

sasidhar@sasidhar$ : ps -aef | grep firefox
firefox 1453
sasidhar@sasidhar$ : kill 1453

Comments 1

  1. Nikhil Dev wrote:

    Another way is to do killall firefox-bin

    Posted 21 Oct 2007 at 5:29 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *