nohup 命令 追加输入日志或者覆盖输出日志

nohup python3 -u botxiaohui.py >>  botruninfo.log 2 >&1 &

>>  是追加的输出

>    单行,则覆盖输出

nohup command > out.out 2>&1 &
 
原文地址:https://www.cnblogs.com/jinbiao/p/12718767.html