shell脚本运行5秒后自动退出的代码

来自:网络
时间:2022-03-19
阅读:
复制代码 代码如下:
#!/bin/bash
#name show_status.sh
#echo $$ > /var/run/show_status.log
#sleep 5 && kill `cat /var/run/show_status.log` &
#start code
echo "hello world"
#end code
返回顶部
顶部