mkdir
用来在linux中创建文件夹:
输入下列命令,查看帮助指令
man mkdir
内容如下:
NAME
mkdir - make directories
SYNOPSIS(题要)
mkdir [OPTION]... DIRECTORY...
DESCRIPTION(描述)
Create the DIRECTORY(ies), if they do not already exist.
翻译:创建文件夹,如果他们并不存在的话
Mandatory arguments to long options are mandatory for short options too.
翻译:长期权的强制性参数对于短期权也是强制性的
-m, --mode=MODE
set file mode (as in chmod), not a=rwx - umask
翻译:设置文件夹权限(就像chmod),
-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
翻译:将每个创建目录的SELinux安全上下文设置为默认类型
--context[=CTX]
like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX
翻译:比如-Z,或者如果指定了CTX,则将SELinux或SMACK安全上下文设置为CTX
--help display this help and exit
翻译:显示此帮助并退出
--version
output version information and exit
翻译: output version information and exit
AUTHOR(著者)
Written by David MacKenzie.
REPORTING BUGS(报告错误)