Main index

Introducing UNIX and Linux


Advanced shell programming

Overview
Sending and trapping signals
      Signal names
Functions
Aliases
The 'exec' mechanism
The 'eval' mechanism
Sending data across networks
      Sending printable characters
      Splitting files
Makefiles
Safe programming
Setting up a terminal
More on files
Miscellaneous utilities
Summary
Exercises

Signal names

SIGEXIT trapped by all shells immediately before exit
SIGHUP hangup - sent to child process when parent dies
SIGINT Sent by ctrl-C
SIGQUIT Sent by ctrl-\and may coredump
SIGKILL 'Sure kill' signal - cannot be trapped
SIGALRM 'Alarm' - used by e.g. sleep
SIGTERM The 'default' signal used by kill

Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck