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]
转载于:https://www.cnblogs.com/itzxy/p/7075847.html