Name

kill

Synopsis

    kill [options]IDs

Terminate each specified process ID or job ID. You must own the process or be a privileged user. This built-in is similar to the external kill command described in Chapter 2 but also allows symbolic job names. See the kill entry in Chapter 2 for a list of commonly available signals and for the header files where the corresponding signal numbers may be found. Stubborn processes can be killed using signal 9. See the earlier section "Job Control.”

Options

-l

List the signal names. (Used by itself.)

-n num

Send the given signal number. Not ksh88.

-s name

Send the given signal name. Not ksh88.

- signal

The signal number (from <signal.h>) or name (from kill -l). With a signal number of 9, the kill is absolute.

Get Unix in a Nutshell, 4th Edition 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.