名称

mkdir - 创建目录

概述

mkdir [选项]... 目录列表...

描述

如果目录列表中的目录不存在,则创建之。

必选参数对长短选项同时适用。

-m, --mode=模式
设置文件模式(类似chmod),而不是 rwx 减 umask
-p, --parents
如果目录已存在,不报错,且按需创建父目录
-v, --verbose
为每一个已创建的目录打印信息
-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
显示版本信息并退出

作者

由 David MacKenzie 编写。

报告错误

GNU coreutils 的在线帮助: <http://www.gnu.org/software/coreutils/>
请向 <http://translationproject.org/team/zh_CN.html> 报告 mkdir 的翻译错误。

版权

Copyright © 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

参见

mkdir(2)


完整文档请见: <http://www.gnu.org/software/coreutils/mkdir>
或者在本地使用: info aq(coreutils) mkdir invocationaq


This document was created by man2html, using the manual pages.
Time: 14:42:02 GMT, August 11, 2015