Home > Article > Operation and Maintenance > How to kill a process in linux
First we can execute the [ps -ef | grep process name] command to view the PID of the process;
$ ps -ef | grep firefox
Then continue to execute the [kill -s 9 process PID] command Just kill the process.
$kill -s 9 1827
Recommended tutorial: linux tutorial
The above is the detailed content of How to kill a process in linux. For more information, please follow other related articles on the PHP Chinese website!