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]

posted @ 2017-06-25 04:15  zxyblog  阅读(120)  评论(1编辑  收藏  举报