kill is not really meant only to kill a process.  The main intention
is to send a signal to a process and the process handles the signal to
do various tasks.

#kill -INT 1234
where 1234 is the Process ID, this sends an interrupt signal, Ctrl-C
is an example of an interrupt signal given to a process which has the
shell's focus.

#kill -HUP 1234
some UNIX daemons handle this, generaly to reload config files.

#kill -KILL 1234
This is the sure kill, which cannot be handled by any process, AKA
#kill -9 1234.

Anyone cares to share the rest of the signals that linux has and some
situations in which you had to use the less known signals? :D

-- 
---------------------------
Netiquette -> http://www.dtcc.edu/cs/rfc1855.html
Netiquette Nazi ->
http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm
---------------------------

_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org

Reply via email to