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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.