Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmdir(1) — DG/UX R4.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rm(1)

file(1)

ls(1)

unlink(2)



rmdir(1)                         DG/UX R4.11                        rmdir(1)


NAME
       rmdir - remove directories

SYNOPSIS
       rmdir [ -p ] [ -s ] dirname


DESCRIPTION
       Rmdir removes entries for the named directories, which must be empty.

       Options are:

       -p     Try to delete the named directory and all its parent
              directories, which become empty.  Prints a message to standard
              output indicating whether or not the whole path is removed or
              part of the path remains.

       -s     Don't print messages to standard output when -p is in effect.

EXAMPLES
       $ rmdir $HOME/ITEMS

       The directory "ITEMS" is removed, if it is empty.

DIAGNOSTICS
       Generally self-explanatory.  You can't remove the parent directory
       pointer file (..).

       rmdir returns the following exit values:

        0     Each directory entry was removed successfully.

       >0     An error occured.

SEE ALSO
       rm(1), file(1), ls(1).
       unlink(2)

NOTES
       It is forbidden to remove the directories "." and ".." in order to
       avoid the consequences of inadvertently doing something like the
       following:

       rmdir .*


Licensed material--property of copyright holder(s)

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