From LQWiki
rmdir is a command used to remove empty directories. Non-empty directories need to be emptied first. Another approach to removing non-empty directories is using the "rm -r" command.
Many people choose to alias the rmdir command to rd because that's what it was called in DOS. This is done differently depending on your shell:
$ alias rd=rmdir # For sh, ksh, bash, etc. $ alias rd rmdir # For csh, tcsh, etc.
See also
External links
- rmdir man page (man.linuxquestions.org)

This page is available under a