Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/mktemp.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ $ trap [动作] [信号1] [信号2] ...
上面代码中,“动作”是一个 Bash 命令,“信号”常用的有以下几个。

> - HUP:编号1,脚本与所在的终端脱离联系。
> - INT:编号2,用户按下 Ctrl + C,意图让脚本中止运行。
> - INT:编号2,用户按下 Ctrl + C,意图让脚本终止运行。
> - QUIT:编号3,用户按下 Ctrl + 斜杠,意图退出脚本。
> - KILL:编号9,该信号用于杀死进程。
> - TERM:编号15,这是`kill`命令发出的默认信号。
Expand Down