Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkdir(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh, Rsh

rm, delete

umask

mkdir



MKDIR(1,C)                  AIX Commands Reference                   MKDIR(1,C)



-------------------------------------------------------------------------------
mkdir



PURPOSE

Makes a directory.

SYNTAX


       +------+
mkdir -|      |-- directory --|
       +- -h -+ ^           |
                +-----------+


DESCRIPTION

The mkdir command makes a new directory.  The read, write, and execute
permissions of the new directory will depend on the current umask value.  You
can change the default permissions the command sets with the umask command (see
page umask-1).  The mkdir command also creates, by default, the standard
entries "." (dot) for the directory itself and ".." (dot dot) for its parent.

If you specify unsupported options, the mkdir command creates a directory whose
name consists of the unsupported option.  For example, "mkdir -sdlkif" creates
a directory named -sdlkif.  This allows you to include a minus sign in the
directory name.

Note:  To make a new directory, you must have write permission in the parent
       directory.

FLAGS

-h   Creates a hidden directory instead of an ordinary directory.

RELATED INFORMATION

See the following commands:  "sh, Rsh,"  "rm, delete," and  "umask."

See the mkdir system call in AIX Operating System Technical Reference.












Processed November 8, 1990        MKDIR(1,C)                                  1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026