Killing Processes
In this lesson, we will learn how to terminate or kill processes.
Terminating a Process with kill
The kill command allows you to send a signal to a process, asking it to terminate.
kill PID- Replace
PIDwith the process ID.
Forcefully Terminating a Process with kill -9
If a process does not respond to a regular kill, you can use kill -9 to force it to terminate.
kill -9 PID