摘要: 执行的shell #/bin/bash # shell的开头 nohup java -jar /home/user/web.jar --server.port=8080 >> /home/user/log.log 2>&1 & # 执行命令 echo "$!" # 表示的是上一个后台进程 echo 阅读全文
posted @ 2021-10-28 16:08 昨天的小冉 阅读(83) 评论(0) 推荐(0) 编辑