pTutorial

New way to learn Programming

How To Kill A Process In Ubuntu Terminal

how to kill a process in Ubuntu terminal

The killall command is used to kill all the instance of any process for example- sudo killall firefox

Syntax to kill

sudo kill <pid> 
or
sudo killall <process-name>

Syntax to kill

kill <pid> 
or
killall <process-name>

Explanation

To kill all the processes of firefox, that you have the permission to kill, simply run the command -

pkill firefox 

or 
killall firefox

depending on the behaviour you want

See Also


QUOTES OF THE DAY

Beauty is truth, Truth beauty- That is all

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER