mkdir(1) mkdir(1)
mkdir - make directories
mkdir [-m mode<b>] [-p] dirname . . .
mkdir creates the specified directories in mode 777 [possibly altered by
umask(1)].
Standard entries in a directory, ., for the directory itself, and .., for
its parent are made automatically. mkdir cannot create these entries by
name. Creation of a directory requires write permission in the parent
directory.
The owner ID and group ID of the new directories are set to the process's
real user ID and group ID, respectively.
The mkdir command has the following options:
-m specifies the mode to be used for new directories. Choices
for mode can be found in chmod(1).
-p creates all the non-existing parent directories first.
To create the subdirectory structure ltr/jd/jan, type:
mkdir -p ltr/jd/jan
/usr/lib/locale/locale<b>/LC_MESSAGES/uxcore.abi
language-specific message file [See LANG on environ (5).]
sh(1), rm(1), umask(1), intro(2), mkdir(2), mkdirp(3G)
mkdir returns exit code 0 if all directories given in the command line
were made successfully. Otherwise, it prints a diagnostic and returns
non-zero.
PPPPaaaaggggeeee 1111 [ Back ]
|