icon Top 9 categories map      RocketAware >

mkdir(1)

Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.


The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Home

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    

RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others

[IEEE Std1003.2-1992 (``POSIX.2'')]

MKDIR(1)                   OpenBSD Reference Manual                   MKDIR(1)

NAME
     mkdir - make directories



SYNOPSIS
     mkdir [-p] [-m mode] directory_name [...]

DESCRIPTION
     The mkdir utility creates the directories named as operands, in the order
     specified, using mode rwxrwxrwx (0777) as modified by the current
     umask(2).

     The options are as follows:

     -m mode
             Set the file permission bits of the final created directory to
             the specified mode. The mode argument can be in any of the for-
             mats specified to the chmod(1) utility.  If a symbolic mode is
             specified, the operators `+' and `-' are interpreted relative to
             an initial mode of ``a=rwx''.

     -p      Create intermediate directories as required.  If this option is
             not specified, the full path prefix of each operand must already
             exist.  Intermediate directories are created with permission bits
             of rwxrwxrwx (0777) as modified by the current umask, plus write
             and search permission for the owner.  Do not consider it an error
             if the argument directory already exists.

     The user must have write permission in the parent directory.

     The mkdir utility exits 0 on success or >0 if an error occurred.

EXAMPLES
     Create a directory named foobar:

           mkdir foobar

     Create a directory named foobar and make it mode 700:

           mkdir -m 700 myjunk

     Make a directory named cow/horse/monkey, creating any non-existent inter-
     mediate directories as necessary:

           mkdir -p cow/horse/monkey

SEE ALSO
     chmod(1),  rmdir(1),  umask(2)

STANDARDS
     The mkdir utility is expected to be IEEE Std1003.2 (``POSIX.2'') compati-
     ble.

OpenBSD 2.6                    January 25, 1994                              1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.



(Corrections, notes, and links courtesy of RocketAware.com)


[Detailed Topics]
FreeBSD Sources for mkdir(1)
OpenBSD sources for mkdir(1)


[Overview Topics]

Up to: Directory Access - Accessing directories of files, browsing, management, et al.


RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others

[IEEE Std1003.2-1992 (``POSIX.2'')]




Rapid-Links: Search | About | Comments | Submit Path: RocketAware > mkdir.1/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments