Kill Process in Ubuntu 20.04

In Ubuntu Linux, a process refers to the application/program initiated by the user or the system in the background/foreground. Sometimes we need to kill a process to refresh system or to stop application. Killing a process is the act of stopping it abruptly to get rid of any performance bug.

Ubuntu offers numerous ways to assist its users to kill the process.

 

To Kill process application/program please follow this commnd :

kill $(ps aux | grep '[n]ginx' | awk '{print $2}')

 

Please write comments below if you want to help others to klill process method. Thank you

Related Articles