This command is the reverse of the mkdir command. It causes the directory specified to be removed. There is only one option for this command:
Example:
rmdir /mnt/DOS
will remove the sub-directory DOS from the path /mnt.
See also: mkdir