1KILL(1) General Commands Manual KILL(1)
2
3
4
6 kill - terminate a process with extreme prejudice
7
9 kill [ -sig ] processid ...
10 kill -l
11
13 Kill sends the TERM (terminate, 15) signal to the specified processes.
14 If a signal name or number preceded by `-' is given as first argument,
15 that signal is sent instead of terminate (see sigvec(2)). The signal
16 names are listed by `kill -l', and are as given in /usr/include/sig‐
17 nal.h, stripped of the common SIG prefix.
18
19 The terminate signal will kill processes that do not catch the signal;
20 `kill -9 ...' is a sure kill, as the KILL (9) signal cannot be caught.
21 By convention, if process number 0 is specified, all members in the
22 process group (i.e. processes resulting from the current login) are
23 signaled (but beware: this works only if you use sh(1); not if you use
24 csh(1).) Negative process numbers also have special meanings; see
25 kill(2) for details.
26
27 The killed processes must belong to the current user unless he is the
28 super-user.
29
30 The process number of an asynchronous process started with `&' is
31 reported by the shell. Process numbers can also be found by using
32 ps(1). Kill is a built-in to csh(1); it allows job specifiers of the
33 form ``%...'' as arguments so process id's are not as often used as
34 kill arguments. See csh(1) for details.
35
37 csh(1), ps(1), kill(2), sigvec(2)
38
40 A replacement for ``kill 0'' for csh(1) users should be provided.
41
42
43
444th Berkeley Distribution April 20, 1986 KILL(1)