home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: jobs Chapter 4
The Bourne Shell and Korn Shell
Next: Reference: let







Terminate each specified process ID or job ID . You must own the process or be a privileged user. This built-in is similar to /bin/kill described in Section 2. See also "Job Control."



List the signal names. (Used by itself.)

- signal

The signal number (from ps -f ) or name (from kill -l ). With a signal number of 9, the kill is absolute.


Signals are defined in /usr/include/sys/signal.h and are listed here without the SIG prefix.

HUP	1	hangup
INT	2	interrupt
QUIT	3	quit
ILL	4	illegal instruction
TRAP	5	trace trap
IOT	6	IOT instruction
EMT	7	EMT instruction
FPE	8	floating point exception
KILL	9	kill
BUS	10	bus error
SEGV	11	segmentation violation
SYS	12	bad argument to system call
PIPE	13	write to pipe, but no process to read it
ALRM	14	alarm clock
TERM	15	software termination (the default signal)
USR1	16	user-defined signal 1
USR2	17	user-defined signal 2
CLD	18	child process died
PWR	19	restart after power failure

Previous: Reference: jobs UNIX in a Nutshell: System V Edition Next: Reference: let
Reference: jobs Book Index Reference: let

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System