Signals to be caught
The following are the signals that are usually caught with the trap command.0 shell exit (for any reason, including end of file EOF). 1 hangup. 2 interrupt (^C). 3 quit (^\\ ; causes program to produce a core dump). 9 kill (cannot be caught or ignored). 15 terminate; default signal generated by kill.