kill(1)kill(1)NAMEkill - terminate a process by default
SYNOPSISkill [-signal] pid. . .
kill-l
DESCRIPTIONkill 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 is a numeric string that identifies which process(es) should receive
the signal.
The processes with a process ID of 0 and a process ID of 1 are special
processes [see intro(2)] and will be referred to below as proc0 and
proc1, respectively.
If pid is greater than zero, sig will be sent to the process whose
process ID is equal to pid. Pid may equal 1.
If pid is 0, sig will be sent to all processes excluding proc0 and proc1
whose process group ID is equal to the process group ID of the sender.
If pid is -1 and the effective user ID of the sender is not super-user,
sig will be sent to all processes excluding proc0 and proc1 whose real
user ID is equal to the effective user ID of the sender.
If pid is -1 and the effective user ID of the sender is super-user, sig
will be sent to all processes excluding proc0 and proc1.
If pid is negative but not -1, sig will be sent to all processes whose
process group ID is equal to the absolute value of pid.
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.
Page 1
kill(1)kill(1)FILES
/usr/lib/locale/locale/LC_MESSAGES/uxcore.abi
language-specific message file [see LANG on environ(5).]
SEE ALSOps(1), sh(1), kill(2), signal(2), signal(5)
Page 2