BSD 3 development
[unix-history] / usr / man / man1 / kill.1
CommitLineData
e6817382
BJ
1.TH KILL 1
2.SH NAME
3kill \- terminate a process with extreme prejudice
4.SH SYNOPSIS
5.B kill
6[
7.BR \- signo
8]
9processid ...
10.SH DESCRIPTION
11.I Kill
12sends signal 15 (terminate) to the specified processes.
13If a signal number preceded by `\-' is given
14as first argument, that signal is sent instead of
15terminate
16(see
17.IR signal (2)).
18This will kill processes that do not catch the signal;
19in particular `kill \-9 ...' is a sure kill.
20.PP
21By convention, if process number 0 is specified, all members
22in the process group (i.e. processes resulting from
23the current login) are signaled.
24.PP
25The killed processes must belong
26to the current user unless
27he is the super-user.
28To shut the system down and bring it up single user
29the super-user may
30use `kill \-1 1'; see
31.IR init (8).
32.PP
33The process number of an asynchronous process
34started with `&' is reported by the shell.
35Process numbers can also be found by using
36.IR ps (1).
37.SH "SEE ALSO"
38ps(1), kill(2), signal(2)