mkdir /share/brick1 mkdir: cannot create directory ‘/share/brick1’: No such file or directory
时间: 2023-10-30 10:02:21 浏览: 47
As an AI language model, I cannot perform file operations on your system. However, the error message suggests that the directory "/share" does not exist, so you need to create it first before creating the subdirectory "/brick1". You can do this by running the following command:
```
mkdir -p /share/brick1
```
The "-p" option ensures that any missing parent directories will be created as well.
相关问题
mkdir: cannot create directory ‘/opt/sks/vp1’: No such file or directory
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.