mkdir — Make Directories

Synopsis

/usr/bin/mkdir [-m mode][-p] dir... 

Description

Use the mkdir command to create new directories. If you specify a complete path name, the new directory is created at the bottom of the specified path. If you specify a directory name, the new directory is created as a subdirectory of the current directory. You must have write permission for the parent directory. When a new directory is created, standard entries in a directory (for instance, the files . for the directory itself and .. for its parent) are made automatically.

By default, new directories are created with mode 777 permissions. These permissions are altered by the file-mode creation mask (see umask(1)).

The owner ID and group ID of the new directories ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.