Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkdir(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

cpd(1)

sh(1)

rm(1)

umask(1)



     mkdir(1)                   DG/UX 4.30                    mkdir(1)



     NAME
          mkdir - make a directory

     SYNOPSIS
          mkdir [ -c ] [ -p ] [ -m mode ] dirname ...

     DESCRIPTION
          Mkdir creates specified directories in mode 777 (possibly
          altered by umask(1)).  Standard entries (.  for the
          directory itself, and .. for its parent) are made
          automatically.

          Mkdir requires write permission in the parent directory.

          With the -p option, mkdir also creates any non-existing
          parent directories of the new directory.  The -m option lets
          you specify the new directories' mode.  For values of mode,
          see chmod(1).

          The -c option specifies that the directory created is a
          control point directory.  When -c and -p are both given, any
          non-existing parent directories are created as regular
          directories with the same owner, group, and mode as the
          control point directory.  You set and display a control
          point directory's allocation limits with the cpd(1) command.
          You can create control point directories only on local
          filesystems; therefore, diskless workstations cannot create
          control point directories.

     EXAMPLES
          $ pwd

          /usr/user1
          $ mkdir cprograms
          $ cd cprograms
          $ pwd

          /usr/user1/c_programs
          $

          In the above example, user1 has created a directory called
          cprograms.

     SEE ALSO
          chmod(1), cpd(1), sh(1), rm(1), umask(1).

     DIAGNOSTICS
          Mkdir returns exit code 0 if all directories were
          successfully made; otherwise, it prints a diagnostic and
          returns non-zero.  An error code is stored in errno.





     Licensed material--property of copyright holder(s)         Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026