how to terminate a background process in linux using ps command

admin

6/18/2023
All Articles

#linux #sql #teminate #kill #unix

how to terminate a background process in linux using ps command

how to terminate a background process in linux using ps command 

 

Kill commands lets you terminate a process by using a specific process ID, also known as a pid. To show a pid in Linux you can execute the following command:
 
ps 
 
This will list all the available processes with a pid. If you want to make your list more specific – add a grep command like this:
 
ps -ux | grep java

Show the Process ID