mkdir: cannot create directory ‘/opt/sks/vp1’: No such file or directory
时间: 2023-10-30 22:02:47 浏览: 51
This error message suggests that the directory '/opt/sks/vp1' does not exist on your system. To create this directory, you can use the following command:
```
sudo mkdir -p /opt/sks/vp1
```
This will create the directory '/opt/sks/vp1' along with any necessary parent directories that may be missing. The 'sudo' command is used to gain administrative privileges, which may be required to create directories in certain locations on the system.
相关问题
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 ‘/home/lighthouse/ffmpg’: No such file or directory
这是一个错误提示,意思是在`/home/lighthouse/`路径下没有`ffmpg`目录,所以无法创建该目录。你需要先确认该路径是否存在,如果不存在需要先创建该路径,然后再尝试创建`ffmpg`目录。你可以使用以下命令创建该路径和目录:
```
mkdir -p /home/lighthouse/ffmpg
```
这将会创建一个`/home/lighthouse/ffmpg`路径和目录。