One - One Code All

Blog Content

nohup命令输出到指定的文件, 而不是默认的nohup.out

Linux-Mac   2015-04-13 11:16:07

nohup 默认输出到当前目录的nohup.out, 可以通过下面的命令来制定nohup输出位置

nohup some_command &> NEW_name.out&

例如:

nohup python main.py --cuda &> DRMM.out&



上一篇:nohup后台运行解决ignoring input and appending output
下一篇:ssh登录错误ECDSA host key for ip has changed解决方案

The minute you think of giving up, think of the reason why you held on so long.