kill command help
kill - terminate a process
SYNOPSIS
kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
DESCRIPTION
kill sends the specified signal to the specified process.
If no signal is specified, the TERM signal is sent. The
TERM signal will kill processes which do not catch this
signal. For other processes, if may be necessary to use
the KILL (9) signal, since this signal cannot be caught.
Most modern shells have a builtin kill function.
OPTIONS
pid ...
Specify the list of processes that kill should sig
nal. Each pid can be one of four things. A pro
cess name in which case processes called that will
be signaled. n where n is larger than 0. The pro
cess with pid n will be signaled. -1 in which case
all processes from MAX_INT to 2 will be signaled,
as allowed by the issuing user. -n where n is
larger than 1, in which case processes in process
group n are signaled. IFF a negative argument is
given the signal must be specified first, otherwise
it will be taken as the signal to send.
-s Specify the signal to send. The signal may be
given as a signal name or number.
-p Specify that kill should only print the process id
(pid) of the named process, and should not send it
a signal.
-l Print a list of signal names. These are found in
/usr/include/linux/signal.h
SEE ALSO
bash(1), tcsh(1), kill(2), sigvec(2)
AUTHOR
Taken from BSD 4.4. The ability to translate process
names to process ids was added by Salvatore Valente <sva
lente@mit.edu>.
Comments - most recent first (Please feel free to answer questions posted by others!)
spyro spyrides ( 03 Oct 2012, 08:08)
HI, GREAT JOB! COULD I COMBINE - ABSOLUTELY FREE OF FRUSTRATION - ON THE
SAME DESKTOP PC, IN 2 HDISKS, WINDOWS 7 AND LINUX? WHICH ONE SHOULD BOOT?
THANKS
I welcome your comments. However... I am puzzled by many people
who say "Please send me the Linux tutorial." This website *is* your Linux Tutorial! Read everything here, learn
all you can, ask questions if you like. But don't ask me to send what you already have. :-)
NO SPAM! If you post garbage, it will be deleted, and you will be banned.
|
Copyright ©
by Bob Rankin
- Privacy Policy
All rights reserved - Redistribution is allowed only with permission.