Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix rmdir command

Quick links

About rmdir
Syntax
Examples
Related commands
Linux / Unix main page

About rmdir

Deletes a directory.

Syntax

rmdir [OPTION]... DIRECTORY...

--ignore-fail-on-non-empty ignore each failure that is solely because a directory is non-empty.
-p, --parents Remove DIRECTORY and its ancestors. E.g., `rmdir -p a/b/c' is similar to `rmdir a/b/c a/b a'.
-v, --verbose output a diagnostic for every directory processed.
--version output version information and exit.

Examples

rmdir mydir - removes the directory mydir

rm -r directory - would remove a directory, even if files existed in that directory.

Related commands

mkdir
rm

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope