nohup command > log.dn 2>&1 # 运行输出保存在log.dn文件中,可以通过tail -f log.dn实时查看。 nohup command >/dev/null 2>&1 # doesn't create nohup.out
nohup command >/dev/null 2>&1 & # runs in background, still doesn't create nohup.out
nohup command > log.dn 2>&1 # 运行输出保存在log.dn文件中,可以通过tail -f log.dn实时查看。 nohup command >/dev/null 2>&1 # doesn't create nohup.out
nohup command >/dev/null 2>&1 & # runs in background, still doesn't create nohup.out