Seth Woolley's Man Viewer

Manual for kill - man 1 kill

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

KILL(1)                    Linux Programmer's Manual                   KILL(1)

       kill(1,2,1 builtins) - terminate a process

       kill(1,2,1 builtins) [ -s signal(2,7) | -p ] [ -a ] [ -- ] pid ...
       kill(1,2,1 builtins) -l [ signal(2,7) ]

       The command kill(1,2,1 builtins) sends the specified signal(2,7) to the specified process or
       process group.  If no signal(2,7) is specified, the  TERM  signal(2,7)  is  sent.
       The  TERM  signal(2,7)  will  kill(1,2,1 builtins) processes which do not catch this signal.
       For other processes, it may be necessary to use the  KILL  (9)  signal(2,7),
       since this signal(2,7) cannot be caught.

       Most  modern  shells  have a builtin kill(1,2,1 builtins) function, with a usage rather
       similar to that of the  command  described  here.  The  `-a'  and  `-p'
       options, and the possibility to specify pids by command name is a local

       pid... Specify the list of processes that kill(1,2,1 builtins) should signal.  Each pid
              can be one of five things:

              n      where n is larger than 0.  The process with pid n will be

              0      All processes in(1,8) the current process group are  signaled.

              -1     All processes with pid larger than 1 will be signaled.

              -n     where n is larger than 1.  All processes in(1,8) process group
                     n are signaled.  When an argument of  the  form  `-n'  is
                     given,  and it is meant to denote a process group, either
                     the signal(2,7) must be specified first, or the argument  must
                     be  preceded by a `--' option, otherwise it will be taken
                     as the signal(2,7) to send.

                     All processes invoked using that name will be signaled.

       -s signal(2,7)
              Specify the signal(2,7) to send.  The signal(2,7) may be given as a signal(2,7)
              name or number.

       -l     Print   a   list   of   signal(2,7)   names.    These  are  found  in(1,8)

       -a     Do not restrict the commandname-to-pid conversion  to  processes
              with the same uid as the present process.

       -p     Specify  that kill(1,2,1 builtins) should only print the process id (pid) of the
              named(5,8) processes, and not send(2,n) any signals.

       bash(1), tcsh(1), kill(1,2,1 builtins)(2), sigvec(2), signal(2,7)(7)

       Taken from BSD 4.4.  The ability to translate process names to  process
       ids was added by Salvatore Valente <>.

Linux Utilities                 14 October 1994                        KILL(1)

References for this manual (incoming links)