.\" Copyright (c) 1990 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\" %sccs.include.redist.roff%
.\" @(#)rmdir.1 6.6 (Berkeley) %G%
The rmdir utility removes the directory entry specified by
argument, provided it is empty.
Arguments are processed in the order given.
In order to remove both a parent directory and a subdirectory
of that parent, the subdirectory
must be specified first so the parent directory
.\" The following option is available:
.\" argument is treated as a pathname of which all
.\" components will be removed, if they are empty,
.\" starting with the last most component.
.\" for fully non-discriminant recursive removal).
utility exits with one of the following values:
Each directory entry specified by a dir operand
referred to an empty directory and was removed
command is expected to be