Home is for the experience. Projects are for the ones who are interested!

How to kill a running process in linux CENTOS

How to kill a running process in linux CENTOS

In last article we used the command to get all running process from our server. In the following I will show you how to kill a process which is running in the background in centos. To achieve this you only need a two words command, the command "kill" followed by the PID of the process, you can get the PID following this tutorial .

Once you have the PID of the process you want to kill you can run the following command to stop it from running in background. Once you have run the command the process will never start again, only if you want to start it again.

kill 15320


This command will stop the script which has PID "15320".



Leave a Reply

Your email address will not be published. Required fields are marked *