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".

 

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x