rmdir
- Removes a directory.
Options
Option |
Description |
-p, –parent |
remove DIRECTORY and its ancestors; e.g., ‘rmdir -p a/b/c’ is similar to ‘rmdir a/b/c a/b a’ |
-v, –verbose |
verbose mode. show deleted directory. |
Example
Remove a directory
Remove
1
| rmdir -pv dirA/dirB/dirC
|
Reference