#!/bin/bash
pidpath=/tmp/a.pid
if [ -f "$pidpath" ];then
kill $(cat $pidpath)>/dev/null 2>&1
rm -rf $pidpath
fi
echo $$>$pidpath
sleep 100
#!/bin/bash
pidpath=/tmp/a.pid
if [ -f "$pidpath" ];then
kill $(cat $pidpath)>/dev/null 2>&1
rm -rf $pidpath
fi
echo $$>$pidpath
sleep 100
上一篇:python - 汉诺塔
下一篇:linux 端口详解
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M