UNIX in a Nutshell: System V Edition

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

rmdir

rmdir [options] directories

Delete the named directories (the directory 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.

Options

-p

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

-s

Suppress standard error messages caused by -p.


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

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