2018年8月28日

linux 后台执行nohup 命令,终端断开无影响

摘要: nohup /root/start.sh & 在shell中回车后提示:[~]$ appending output to nohup.out原程序的的标准输出被自动改向到当前目录下的nohup.out文件,起到了log的作用。断开ssh 连接后,程序运行不受影响。已验证 使用 jobs 查看任务。 阅读全文

posted @ 2018-08-28 13:19 长不大的菜鸟 阅读(2534) 评论(0) 推荐(0) 编辑

导航