[1] 34025 [root@VM-0-12-centos jar]# nohup: ignoring input and appending output to 'nohup.out'
时间: 2024-06-18 12:04:01 浏览: 30
这是一个Linux命令的输出结果。"nohup"是一个命令,它可以在后台运行一个命令,即使用户退出终端也不会中断该命令的执行。在这个输出中,“nohup: ignoring input and appending output to 'nohup.out'”表示该命令已经在后台运行,并且输出被追加到“nohup.out”文件中。
相关问题
centos使用nohup命令启动RocketMQ broker提示:nohup: ignoring input and appending output to ‘nohup.out’
这个提示是因为 nohup 命令会将标准输出和标准错误输出重定向到 nohup.out 文件中,而忽略输入。如果你想要在后台启动 RocketMQ broker,可以使用以下命令:
```
nohup sh bin/mqbroker -n localhost:9876 &
```
这样就可以将 RocketMQ broker 启动在后台,并将输出重定向到 nohup.out 文件中。
root@VM-8-7-centos ~]# cd /data/wwwroot/mysite/templates/ [root@VM-8-7-centos templates]# ls index.html [root@VM-8-7-centos templates]# ls -l /data/wwwroot/mystie/templates/index.html ls: cannot access /data/wwwroot/mystie/templates/index.html: No such file or directory [root@VM-8-7-centos templates]#
根据您提供的输出,您进入了`/data/wwwroot/mysite/templates/`目录,并且在该目录下存在一个名为`index.html`的文件。但是在执行`ls -l /data/wwwroot/mystie/templates/index.html`命令时,仍然显示找不到文件或目录的错误。
这可能是因为您在路径中的`mystie`拼写错误,导致无法找到该文件。请确保路径中的拼写是正确的,并且与实际文件所在的路径一致。
您可以使用`ls -l /data/wwwroot/mysite/templates/`命令来列出该目录下的所有文件和目录,以确认文件的确切位置。如果您仍然无法找到文件,请重新检查路径和文件名的拼写。
如果问题仍然存在,请提供更多详细信息,以便我能够更好地帮助您解决问题。
相关推荐
![tar](https://img-home.csdnimg.cn/images/20210720083646.png)
![gz](https://img-home.csdnimg.cn/images/20210720083447.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://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)