rmdir is a command which will remove an empty
directory on a
Unix or
DOS-system. In Unix, it cannot be capitalized, whereas this doesn't apply for DOS. Normal usage is straightforward where one types:rmdir name_of_directory
Where name_of_directory corresponds with the name of the directory one wishes to delete. There are options to this command such as -p in Unix which removes parent directories if they are also empty.For example:rmdir -p foo/bar/baz
See more at Wikipedia.org...
REMOVE DIRECTORY. RMDIR