Download   Online Shop   Red Hat Network
Home  |  Products  |  Shop  |  Services  |  Training  |  Support   
Red Hat Documentation: man pages: man1: User Commands (1)

Manpage of MKDIR

MKDIR

Section: User Commands (1)
Updated: August 1998
Index  

NAME

mkdir - make directories  

SYNOPSIS

mkdir [options] directory...

POSIX options: [-p] [-m mode]

GNU options (shortest form): [-p] [-m mode] [--verbose] [--help] [--version] [--]  

DESCRIPTION

mkdir creates directories with the specified names.

By default, the mode of created directories is 0777 (`a+rwx') minus the bits set in the umask.  

OPTIONS

-m mode, --mode=mode
Set the mode of created directories to mode, which may be symbolic as in and then uses the default mode as the point of departure.
-p, --parents
Make any missing parent directories for each directory argument. The mode for parent directories is set to the umask modified by `u+wx'. Ignore arguments corresponding to existing directories. (Thus, if a directory /a exists, then `mkdir /a' is an error, but `mkdir -p /a' is not.)
--verbose
Print a message for each created directory. This is most useful with --parents.
 

GNU STANDARD OPTIONS

--help
Print a usage message on standard output and exit successfully.
--version
Print version information on standard output, then exit successfully.
--
Terminate option list.
 

ENVIRONMENT

The variables LANG, LC_ALL, LC_CTYPE and LC_MESSAGES have the usual meaning.  

CONFORMING TO

POSIX 1003.2  

NOTES

This page describes mkdir as found in the fileutils-3.16 package; other versions may differ slightly. Mail corrections and additions to aeb@cwi.nl and aw@mail1.bet1.puv.fi and ragnar@lightside.ddns.org . Report bugs in the program to fileutils-bugs@gnu.ai.mit.edu.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
GNU STANDARD OPTIONS
ENVIRONMENT
CONFORMING TO
NOTES

This document was created by using the manual pages.
Time: 11:46:34 GMT, March 24, 2025

 

 
 
Search for:  on    Powered by Google
Products & Services   :   Download   :   Support   :   Training   :   Partners & Programs
© 2000 Red Hat, Inc. All right reserved.       About Red Hat   :   Legal statement   :   Privacy statement   :   Y2K statement   :   Contact Red Hat