View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Rmdir

From LQWiki

Jump to: navigation, search

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


Personal tools