修改nohup命令默认输出文件名"nohup.out"
nohup some_command & > nohup2.out &nohup some_command > nohup2.out 2>&1 &不产生nohup.out日志
nohup command >/dev/null 2>&1 # doesn't create nohup.outnohup command >/dev/null 2>&1 & # runs in background, still doesn't create nohup.out参考
Last updated