74 lines
1.4 KiB
HTML
74 lines
1.4 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>mkdir(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>mkdir(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
mkdir - make a directory
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>mkdir</STRONG> <STRONG>[-p</STRONG>] [<STRONG>-m</STRONG> <EM>mode</EM>] <EM>directory</EM> ...
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-m</STRONG> Create directory with mode
|
|
|
|
<STRONG>-p</STRONG> Create missing intermediate directories
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>mkdir</STRONG> <STRONG>dir</STRONG> # Create <EM>dir</EM> in the current directory
|
|
|
|
<STRONG>mkdir</STRONG> <STRONG>-p</STRONG> <STRONG>/user/ast/dir</STRONG>
|
|
# Create the /<EM>user</EM>/<EM>ast</EM> and /<EM>user</EM>/<EM>ast</EM>/<EM>dir</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
The specified directory or directories are created and initialized. If
|
|
any intermediate directory is missing and <STRONG>-p</STRONG> is specified, the missing
|
|
component will be created and no error displayed if directory already
|
|
exists. If the <STRONG>-m</STRONG> flag is used, this will be equivalent to a chmod on the
|
|
directory after its creation.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/chmod.1.html">chmod(1)</A></STRONG>, <STRONG><A HREF="../man1/rmdir.1.html">rmdir(1)</A></STRONG>, <STRONG><A HREF="../man2/mkdir.2.html">mkdir(2)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|