nohup yourcommand >myoutfile.log 2>&1 & eg: 原本 使用nohup 后 nohup redis-server >myoutfile.log 2>&1 &
nohup yourcommand >myoutfile.log 2>&1 &
nohup redis-server >myoutfile.log 2>&1 &