RMDIR(1) User Commands RMDIR(1)

rmdir - remove directories

rmdir [-ps] dirname ...

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

It accepts the following options:

Remove the named directory and all its named parent directories. This is only successful if each parent directory contains only the specied subdirectories. For /usr/5bin/mkdir and /usr/5bin/s42/mkdir, a message is printed if the whole hierarchy was successfully removed.
Suppress error messages if -p is in effect.

mkdir(1), rm(1), rmdir(2)

12/1/03 Heirloom Toolchest