Copyright © tutorialspoint.com
Most modern shells have a builtin kill function, with a usage rather similar to that of the command described here. The -a and -p options, and the possibility to specify pids by command name is a local extension.
| Tag | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pid... |
Specify the list of processes that
kill should signal. Each
pid can be one of five things:
| ||||||||||||||
| -s signal | |||||||||||||||
| Specify the signal to send. The signal may be given as a signal name or number. | |||||||||||||||
| -l | Print a list of signal names. These are found in /usr/include/linux/signal.h | ||||||||||||||
| -a | Do not restrict the commandname-to-pid conversion to processes with the same uid as the present process. | ||||||||||||||
| -p | Specify that kill should only print the process id (pid) of the named processes, and not send any signals. | ||||||||||||||
Copyright © tutorialspoint.com