Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmdir(1) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       rmdir(1)                                                    rmdir(1)


       NAME
             rmdir - remove directories

       SYNOPSIS
             rmdir [-p] [-s] dirname. . .

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

       OPTIONS
             -p    This option allows users to remove the directory dirname
                   and its parent directories which become empty.  A
                   message is printed on standard output about whether the
                   whole path is removed or part of the path remains for
                   some reason.

             -s    This option is used to suppress the message printed on
                   standard error when -p is in effect.

       FILES
             /usr/lib/locale/locale/LC_MESSAGES/uxcore.abi
                   language-specific message file [See LANG on environ
                   (5).]

       SEE ALSO
             rm(1), rmdir(2), unlink(2)

       DIAGNOSTICS
             All messages are generally self-explanatory.

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

                         rm -r .*

             rmdir  returns  an  exit  code  of  0  if  all  the  specified
             directories  are removed successfully.  Otherwise, they return
             a non-zero exit code.

       NOTES
             A -- permits the user to mark explicitly the end of any
             command line options, allowing rmdir to recognize filename
             arguments that begin with a -.  As an aid to BSD migration,
             rmdir will accept - as a synonym for --.  This migration aid


                           Copyright 1994 Novell, Inc.               Page 1













      rmdir(1)                                                    rmdir(1)


            may disappear in a future release.  If a -- and a - both
            appear on the same command line, the second will be
            interpreted as a filename.













































                          Copyright 1994 Novell, Inc.               Page 2








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