handle signal keywords…
Change the way BASH handles signal signal. signal can be the number of a signal or its name (with or without the ‘SIG’ at the beginning). The keywords say what change to make.
info signals
info handle
Print a table of all the kinds of signals and how BASH has been told to handle each one. You can use this to see the signal numbers of all the defined types of signals.
info handle
is an alias for info signals
.
The keywords allowed by the handle
command can be abbreviated.
Their full names are:
stop
BASH should stop your program when this signal happens. This implies
the print
keyword as well.
nostop
BASH should not stop your program when this signal happens. It may still print a message telling you that the signal has come in.
print
BASH should print a message when this signal happens.
noprint
BASH should not mention the occurrence of the signal at all.
stack
BASH should print a stack trace when this signal happens.
nostack
BASH should not print a stack trace when this signal occurs.