*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> mkdir (1)              


mkdir(1)							      mkdir(1)

NAME    [Toc]    [Back]

     mkdir - make directories

SYNOPSIS    [Toc]    [Back]

     mkdir [-m mode<b>] [-p] dirname . . .

DESCRIPTION    [Toc]    [Back]

     mkdir creates the specified directories in	mode 777 [possibly altered by

     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

     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.

EXAMPLE    [Toc]    [Back]

     To	create the subdirectory	structure ltr/jd/jan, type:

	  mkdir	-p ltr/jd/jan

FILES    [Toc]    [Back]

	  language-specific message file [See LANG on environ (5).]

SEE ALSO    [Toc]    [Back]

     sh(1), rm(1), umask(1), intro(2), mkdir(2), mkdirp(3G)

DIAGNOSTICS    [Toc]    [Back]

     mkdir returns exit	code 0 if all directories given	in the command line
     were made successfully.  Otherwise, it prints a diagnostic	and returns

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
dxfileshare Tru64 Exports local directories and mounts directories from the network
fs OpenBSD Manage AFS directories
dir IRIX format of EFS directories
nismkdir HP-UX create NIS+ directories
dircmp Tru64 Compares two directories
rmdir HP-UX remove directories
nisrmdir HP-UX remove NIS+ directories
ExtUtils::testlib IRIX add blib/* directories to @INC
dir Tru64 Format of directories
rmdir OpenBSD remove directories
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service