nohup: 忽略输入并把输出追加到 'nohup.out'
时间: 2024-01-16 16:03:23 浏览: 220
nohup.out
nohup命令是Linux系统中的一个命令,它可以在后台运行程序并忽略输入,并将输出追加到名为'nohup.out'的文件中。这个文件会在当前目录下创建。当使用nohup命令运行程序时,它会忽略输入,并将程序的输出写入到nohup.out文件中,这样即使你关闭终端或者退出登录,程序仍然会继续在后台运行,并且输出会保存在nohup.out文件中。使用nohup命令提交作业时,如果没有指定输出文件,那么所有的输出都会被重定向到nohup.out文件中。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [nohup: ignoring input and appending output to `nohup.out](https://blog.csdn.net/qq_39341318/article/details/116154413)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [【Linux】一步一步学Linux——nohup命令(136)](https://blog.csdn.net/dengjin20104042056/article/details/99412991)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文