O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required