typora/note/linux/command/trap.md

6 lines
101 B
Markdown
Raw Permalink Normal View History

2024-12-11 21:48:55 -05:00
- 忽略屏蔽 某些信号
- 可以用来忽略 ctrl c z
```
#!/bin/env bash
trap : 1 2 3 9 20
```