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 .