rmdir - remove directories
rmdir [-p] directory [directories ...]
rmdir removes the directories which are given as argument, if they are empty. Trying to remove a non-empty directory is regarded as an error.
rmdir accepts the following options:
Make rmdir treat the arguments as path names, of which all non-empty components will be removed. Leftmost components will be removed first.
The working of rmdir is not influenced by any environment variables.
rmdir does not have any known bugs.
This head implementation is compatible with the OpenBSD implementation, which is expected to be compatible with the IEEE Std1003.2-1992 (aka POSIX.2) standard.
The Perl implementation of rmdir was written by Abigail, email@example.com.
This program is copyright by Abigail 1999.
This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.