mkdir: cannot create directory ‘/home/lighthouse/ffmpg’: No such file or directory
时间: 2024-01-15 21:03:28 浏览: 39
这是一个错误提示,意思是在`/home/lighthouse/`路径下没有`ffmpg`目录,所以无法创建该目录。你需要先确认该路径是否存在,如果不存在需要先创建该路径,然后再尝试创建`ffmpg`目录。你可以使用以下命令创建该路径和目录:
```
mkdir -p /home/lighthouse/ffmpg
```
这将会创建一个`/home/lighthouse/ffmpg`路径和目录。
相关问题
mkdir: cannot create directory ‘/var/ftp/userdir’: No such file or directory
This error message indicates that the "mkdir" command is attempting to create a directory named "userdir" within the "/var/ftp" directory, but the "/var/ftp" directory does not exist.
To resolve this issue, you need to create the "/var/ftp" directory first, then create the "userdir" directory within it. You can do this by running the following commands:
```
sudo mkdir /var/ftp
sudo mkdir /var/ftp/userdir
```
The "sudo" command is used to run these commands with administrative privileges, which may be necessary depending on your system configuration.
提示mkdir: cannot create directory ‘/backup/iptables’: No such file or directory错误
这个错误提示表明在创建目录时,系统找不到指定的路径。可能是目录不存在或者路径错误。
要解决这个问题,可以先确认一下路径是否正确,如果路径不存在,则需要先创建路径。
可以使用以下命令创建路径:
```
mkdir -p /backup/iptables
```
其中,-p选项会自动创建路径中所有不存在的目录。这样就可以解决这个错误了。