Linux Terminating

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

Linux Terminating

There are four ways to kill or terminate a process. These commands allow you to run the system uninterruptedly after terminating a process without rebooting the system. These commands can be internal or external.

Command Function
kill Need to specify PID number
killall Kill more than one process with a single name
pkill Need to specify name of the process
xkill Kill a x server client

How to know PID

To use terminating commands you need to know different PIDs. PID for a process can be find out with the following command,


  1. ps -A  

Linux terminating1