source: trunk/minix/man/man1/mkdir.1@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 863 bytes
Line 
1.TH MKDIR 1
2.SH NAME
3mkdir \- 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
25The specified directory or directories are created and initialized. If any
26intermediate directory is missing and \fB\-p\fR is specified, the missing
27component will be created and no error displayed if directory already
28exists. If the \fB\-m\fR flag is used, this will be equivalent to a chmod
29on 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.