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
.
-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
.