kill(1) kill(1)
NAME
kill - terminate a process
SYNOPSIS
kill [-signo] PID ...
kill [-signo] job_number ...
DESCRIPTION
kill sends signal 15 (terminate) to the specified processes.
This will normally kill processes that do not catch or
ignore the signal. The process number (PID) of each
asynchronous process started with & is reported by the shell
(unless more than one process is started in a pipeline, in
which case, on some machines, the number of the last process
in the pipeline is reported). Process numbers may also be
found by using ps(1). The job_number of each asynchronous
process started with & is assigned by ksh(1) or csh(1)
(unless more than one process is started in a pipeline, in
which case a number is assigned to the last process in the
pipeline). Job numbers can be found by using the jobs
command.
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 to-be-killed process must belong to the current user
unless he is the super-user.
If a signal number or name preceded by - is given as first
argument, that signal is sent instead of terminate (see
signal(3)). In particular kill -9... is the surest kill;
especially with NFS, the 9 signal does not always destroy
the process.
EXAMPLE
kill 24068
Sends signal 15 to the process with the ID number 24068.
FILES
/bin/kill
SEE ALSO
ps(1), sh(1), csh(1), ksh(1), kill(2), signal(3).
Page 1 (last mod. 1/16/87)