bash - trap
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.html
The syntax for the trap statement is straightforward:
trap [COMMANDS] [SIGNALS]
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.html
The syntax for the trap statement is straightforward:
trap [COMMANDS] [SIGNALS]