⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _trap

📁 linux下编程入门及代码
💻
字号:
#!/bin/shtrap 'rm -f /tmp/my_tmp_file_$$' INTecho creating file /tmp/my_tmp_file_$$date > /tmp/my_tmp_file_$$echo "Press interrupt (Ctrl-C) to interrupt...."while [ -f /tmp/my_tmp_file_$$ ]; do    echo File exists    sleep 1doneecho The file no longer existstrap -INTecho creating file /tmp/my_tmp_file_$$date > /tmp/my_tmp_file_$$echo "Press interrupt (Ctrl-C) to interrupt...."while [ -f /tmp/my_tmp_file_$$ ]; do    echo File exists    sleep 1doneecho We never get hereexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -