KILL(1) BSD KILL(1)
NAME
kill - terminate or signal a process
SYNOPSIS
kill [ -sig ] processid ...
kill -l
DESCRIPTION
kill sends the TERM (terminate, 15) signal to the specified processes.
If you specify a signal name or number preceded by `-' as the first
argument, that signal is sent instead of terminate (see sigvec(2)). The
signal names are listed by kill -l, and are as given in
/usr/include/signal.h, stripped of the common SIG prefix.
The terminate signal kills processes that do not catch the signal. A
kill -9 kills any process, as the KILL signal (9) cannot be caught by
conventional UNIX means. By convention, if you specify process number 0,
all members in the process group (that is, processes resulting from the
current login) are signaled (but beware: this works only if you use
sh(1); not if you use csh(1)). Negative process numbers also have
special meanings; see kill(2) for details.
The killed processes must belong to the current user unless he is the
super-user.
The shell reports the process number of an asynchronous process started
with &. You can also use ps(1) to find process numbers. kill is a
built-in to csh(1); it allows job specifiers of the form "%..." as
arguments, so process ID's are not as often used as kill arguments. See
csh(1) for details.
NOTES
Domain/OS provides the means to catch kill -9.
BUGS
There is no equivalent of kill 0 for csh(1) users.
There is no way to blast a process with kill.
SEE ALSO
csh(1), ps(1), kill(2), sigvec(2)