雅典娜的棒槌
shell trap
阅读 26
2022-06-20
trap 'echo "ni hao" ' 2 9 15
#9号信号无法被捕捉到,2号和15号都可以
while :
do
date
sleep 1
done
相关推荐
精彩评论(0)