摘要: ref: https://stackpointer.io/script/how-to-catch-ctrl-c-in-shell-script/248/ #!/bin/sh # this function is called when Ctrl-C is sent function trap_ctr 阅读全文
posted @ 2017-11-01 23:27 圆旭 阅读(300) 评论(0) 推荐(0) 编辑