1, #!/bin/bash trap "echo trap ctrl+c" SIGINT while : do echo "Hi there" sleep 1 done #通過kill -l 命令可以看到,ctrl+C等同SIGINT,不會打 ...
確定! 回上一頁