Web Development. Client Satisfaction. Web Consultancy. Professional. UX. Fast. Responsive Design. Dynamic. Interactive. Innovative. Ecommerce. Wordpress plugins. Prestashop modules. You name it.

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

avatar
  Subscribe  
Notify of