mkdir 中文man页面

系统
mkdir [选项] 目录... POSIX 选项: [-p] [-m mode]

名字

mkdir -建立目录  

总览

mkdir [选项] 目录...

POSIX 选项: [-p] [-m mode]  

GNU 选项(缩写):

[-p] [-m mode] [--verbose] [--help] [--version] [--] mkdir 用指定的名字建立目录。缺省时,新建立的目录模式为0777,即不加保护地对所有人都可读、可写、可执行。  

选项

-m mode, --mode=mode
为新建立的目录设定模式,就象应用命令chmod一样,以后仍然使用缺省模式建立新目录。
-p, --parents
为所给出的目录建立丢失了的父目录。所建立的父目录的模式相当于用命令 umask 进行了 'u+wx' 的设置。忽略参数对已存在的目录的覆盖。(例如:已存在目录/a,当用到命令
--verbose
打印出新建立的每一个目录名。与--parents联合使用最有效。

GNU 标准选项

-help
在标准输出上显示使用信息并顺利退出。
-version
在标准输出上显示版本信息并顺利退出
--
终端选项列表.

环境变量

变量LANG,LC_ALL,LC_CTYPE,LC_MESSAGES按常规定义。  

遵循

POSIX 1003.2  

注意

本文出自 fileutils-4.0,其他版本肯会有微小差别。任何添加或纠错意见请寄:aeb@cwi.nl,程序Bugs请告知: fileutils-bugs@gnu.ai.mit.edu

#p#

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.

-Z, --context=CONTEXT (SELinux) set security context to CONTEXT
-m, --mode=MODE
set permission mode (as in chmod), not rwxrwxrwx - umask
-p, --parents
no error if existing, make parent directories as needed
-v, --verbose
print a message for each created directory
--help
display this help and exit
--version
output version information and exit

AUTHOR

Written by David MacKenzie.  

REPORTING BUGS

Report bugs to <bug-coreutils@gnu.org>.  

COPYRIGHT

Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

SEE ALSO

The full documentation for mkdir is maintained as a Texinfo manual. If the info and mkdir programs are properly installed at your site, the command

info coreutils mkdir

should give you access to the complete manual.

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man

2011-08-19 18:30:52

ipc中文man

2011-08-25 17:18:07

putc中文man

2011-08-15 13:53:19

stat中文man

2011-08-25 15:24:31

execlp中文man

2011-08-15 18:06:07

restore中文man

2011-08-15 15:45:04

xpdf中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-15 14:42:28

uname中文man

2011-08-15 11:30:37

pwd中文man

2011-08-23 14:24:42

ping中文man

2011-08-15 11:01:45

2011-08-25 17:15:16

printf中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-23 17:24:11

userdel中文man
点赞
收藏

51CTO技术栈公众号