qiezi-online

参考:

https://www.cnblogs.com/sidianok/p/13176754.html

关键指令:nohup

nohup command > myout.file 2>&1 &

 

例子:

推荐:

nohup python -u abc.py > nohup.log 2>&1 &  (加上-u,随时写入,参考:https://www.cnblogs.com/lanlingshao/p/10260600.html)

nohup bash test.sh > out.file 2>&1 &

 

查看日志:

tail -f 文件名

分类:

技术点:

相关文章:

  • 2021-07-25
  • 2021-12-18
  • 2022-12-23
  • 2021-07-31
  • 2021-12-05
  • 2022-02-10
  • 2022-01-23
  • 2021-12-09
猜你喜欢
  • 2022-02-01
  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-11-02
相关资源
相似解决方案