Line | |
---|
1 | .TH MKDIR 1
|
---|
2 | .SH NAME
|
---|
3 | mkdir \- make a directory
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBmkdir [\fB\-p\fR] [\fB\-m \fImode\fR] \fIdirectory ...\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH OPTIONS
|
---|
18 | .FL "\-m" "Create directory with mode"
|
---|
19 | .FL "\-p" "Create missing intermediate directories"
|
---|
20 | .SH EXAMPLES
|
---|
21 | .EX "mkdir dir" "Create \fIdir\fP in the current directory"
|
---|
22 | .EX "mkdir \-p /user/ast/dir" "Create the \fI/user/ast\fP and \fI/user/ast/dir\fP"
|
---|
23 | .SH DESCRIPTION
|
---|
24 | .PP
|
---|
25 | The specified directory or directories are created and initialized. If any
|
---|
26 | intermediate directory is missing and \fB\-p\fR is specified, the missing
|
---|
27 | component will be created and no error displayed if directory already
|
---|
28 | exists. If the \fB\-m\fR flag is used, this will be equivalent to a chmod
|
---|
29 | on the directory after its creation.
|
---|
30 | .SH "SEE ALSO"
|
---|
31 | .BR chmod (1),
|
---|
32 | .BR rmdir (1),
|
---|
33 | .BR mkdir (2).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.