MKDIR.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .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).