Kill Process in Linux or Terminate a Process in UNIX / Linux Systems


#1

Originally published at: https://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/

I am a new Linux system user. How do I kill a process on Linux based server using command line options? How can I kill running process on Unix?


#2

First check the pid of target process. for example, we want to kill firefox process then run below command

pidof firefox

now on output you will see process IDs/ID. next run a command to kill this process

kill -9  type_here_pid_of_firefox

done