kill

Terminates a process

kill [option] PID-list

kill -l

The kill builtin terminates one or more processes by sending them signals. By default, kill sends software termination signals (signal number 15). The process must belong to the user executing kill, except that Superuser can terminate any process.

In the second form of the command, kill displays a list of all the available signal names. You can use either a signal number or the signal name with the kill builtin.

Arguments

The PID-list contains process identification (PID) numbers of processes kill is to terminate.

Options

You can specify a signal number or name, preceded by a hyphen, ...

Get A Practical Guide to Red Hat® Linux® 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.