The trap builtin command - created

view full story

http://wiki.bash-hackers.org – Synopsis trap [-lp] [[ARGUMENT] SIGNAL] Description The trap command is used to "trap" signals and other events. In this context, "trapping" means to install handler code. The shell code ARGUMENT is to be read and executed whenever the shell receives a signal or another event SIGNAL. The given SIGNAL specification can be (HowTos)