摘要: 启动脚本 start.sh #!/bin/bash nohup <command> > /dev/null 2>&1 & echo $! > command.ppid 停止脚本 #!/bin/bash ppid=`cat command.ppid` ps -o pid --ppid $ppid -- 阅读全文
posted @ 2022-08-29 10:56 WenderWang 阅读(30) 评论(0) 推荐(1) 编辑