首页 > 技术文章 > bash - trap

itzxy 2017-06-25 04:15 原文

http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.html

 

The syntax for the trap statement is straightforward:

trap [COMMANDS] [SIGNALS]

推荐阅读