nohup: ignoring input and appending output to ‘nohup.out’
时间: 2023-09-28 14:08:39 浏览: 171
This message is just a notification that the command you're running with nohup will not be affected by any input you provide and any output generated by the command will be redirected to a file named "nohup.out". This is done to ensure that the command continues to run even if you log out or close the terminal session. You can safely ignore this message and continue using the command as usual.
相关问题
nohup: appending output to ‘nohup.out’ nohup: ignoring input and appending output to ‘nohup.out’
nohup命令是在Linux中用于在后台执行命令,并将输出信息重定向到nohup.out文件中的命令。当你在终端中使用nohup命令时,会出现"nohup: ignoring input and appending output to ‘nohup.out’"的错误信息,表示命令会忽略输入并将输出信息添加到nohup.out文件中。此外,你还提到了另一个错误信息"nohup: ignoring input and redirecting stderr to stdout",这表示命令会忽略输入并将标准错误输出重定向到标准输出。
所以,当你在终端看到"nohup: appending output to ‘nohup.out’ nohup: ignoring input and appending output to ‘nohup.out’"的输出时,说明nohup命令执行成功,命令将输出信息追加到nohup.out文件中并忽略输入。
nohup: ignoring input and appending output to 'nohup.out
nohup: ignoring input and appending output to 'nohup.out’这个错误信息表示在使用nohup命令时,输入被忽略并且输出被追加到nohup.out文件中。nohup命令用于在系统后台运行命令,即使你退出终端,程序仍然会继续运行。默认情况下,nohup命令会将输出信息重定向到一个名为nohup.out的文件中,如果当前目录下的nohup.out文件不可写,则会将输出重定向到$HOME/nohup.out文件中。
出现这个错误的原因是在运行nohup命令时没有在命令的末尾添加&符号,导致命令没有在后台运行。解决方法是在需要在后台运行的nohup命令的末尾添加&符号,这样就不会出现该错误了。
阅读全文
相关推荐
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![-](https://img-home.csdnimg.cn/images/20241231045021.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![-](https://img-home.csdnimg.cn/images/20241231044901.png)
![-](https://img-home.csdnimg.cn/images/20241231044930.png)