MKDIR.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH MKDIR 1
- .SH NAME
- mkdir - make a directory
- .SH SYNOPSIS
- fBmkdir [fB-pfR] [fB-m fImodefR] fIdirectory ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-m" "Create directory with mode"
- .FL "-p" "Create missing intermediate directories"
- .SH EXAMPLES
- .EX "mkdir dir" "Create fIdirfP in the current directory"
- .EX "mkdir -p /user/ast/dir" "Create the fI/user/astfP and fI/user/ast/dirfP"
- .SH DESCRIPTION
- .PP
- The specified directory or directories are created and initialized. If any
- intermediate directory is missing and fB-pfR is specified, the missing
- component will be created and no error displayed if directory already
- exists. If the fB-mfR flag is used, this will be equivalent to a chmod
- on the directory after its creation.
- .SH "SEE ALSO"
- .BR chmod (1),
- .BR rmdir (1),
- .BR mkdir (2).