UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: rmdelChapter 2
UNIX Commands
Next: Reference: rsh


rmdir [options] directories

Delete the named directories (the name itself, not the contents). directories are deleted from the parent directory and must be empty (if not, rm -r can be used instead). See also mkdir.



Remove directories and any intervening parent directories that become empty as a result; useful for removing subdirectory trees.


Suppress standard error messages caused by -p.

Previous: Reference: rmdelUNIX in a Nutshell: System V EditionNext: Reference: rsh
Reference: rmdelBook IndexReference: rsh

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System