kill - terminate a process by default
kill [-signal] pid. . .
kill -signal <b>-pgid. . .
kill sends a signal to the specified processes. The value of signal may
be numeric or symbolic [see signal(5)]. The symbolic signal name is the
name as it appears in /usr/include/sys/signal.h, with the SIG prefix
stripped off. Signal 15 (SIGTERM) is sent by default; this will normally
kill processes that do not catch or ignore the signal.
pid and pgid are unsigned numeric strings that identify which process(es)
should receive the signal. If pid is used, the process with process ID
pid is selected. If pgid is used, all processes with process group ID
pgid are selected.
The process number of each asynchronous process started with & is
reported by the shell (unless more than one process is started in a
pipeline, in which case the number of the last process in the pipeline is
reported). Process numbers can also be found by using ps(1).
When invoked with the -l option, kill will print a list of symbolic
signal names. The details of the kill are described in kill(2). For
example, if process number 0 is specified, all processes in the process
group are signaled.
The signalled process must belong to the current user unless the user is
a privileged user.
language-specific message file [see LANG on environ(5).]
ps(1), sh(1), kill(2), signal(2), signal(5)
PPPPaaaaggggeeee 1111 [ Back ]