BCE-C712 Linux System Administration

0 of 74 lessons complete (0%)

Managing Processes

Killing Processes

You don’t have access to this lesson

Please register or sign in to access the course content.

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 PID with 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