wangyetao@linux_u1604:~/Desktop/Temporaryspace$ mkdir --help
用法:mkdir [选项]... 目录...
Create the DIRECTORY(ies), if they do not already exist.

必选参数对长短选项同时适用。
  -m, --mode=MODE   set file mode (as in chmod), not a=rwx - umask
  -p, --parents     no error if existing, make parent directories as needed #如果存在错误,则按需要生成父目录
  -v, --verbose     print a message for each created directory
  -Z                   set SELinux security context of each created directory
                         to the default type
      --context[=CTX]  like -Z, or if CTX is specified then set the SELinux
                         or SMACK security context to CTX
      --help        显示此帮助信息并退出
      --version        显示版本信息并退出

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
请向<http://translationproject.org/team/zh_CN.html> 报告mkdir 的翻译错误
Full documentation at: <http://www.gnu.org/software/coreutils/mkdir>
or available locally via: info '(coreutils) mkdir invocation'
wangyetao@linux_u1604:~/Desktop/Temporaryspace$ ls
wangyetao@linux_u1604:~/Desktop/Temporaryspace$ mkdir Application/Common/Conf
mkdir: 无法创建目录"Application/Common/Conf": 没有那个文件或目录
wangyetao@linux_u1604:~/Desktop/Temporaryspace$ mkdir -p Application/Common/Conf
wangyetao@linux_u1604:~/Desktop/Temporaryspace$ ls
Application
wangyetao@linux_u1604:~/Desktop/Temporaryspace$ tree -L 3
.
└── Application
    └── Common
        └── Conf

3 directories, 0 files
wangyetao@linux_u1604:~/Desktop/Temporaryspace$ 


Logo

更多推荐