rmdir—Remove empty directories

rmdir [-p] [–parents] [–help] [–version] dir…

This manual page documents the GNU version of rmdir. rmdir removes each given empty directory. If any nonoption argument does not refer to an existing empty directory, it is an error.


Options Description
-p, –parents Remove any parent directories that are explicitly mentioned in an argument, if they become empty after the argument file is removed.
–help Print a usage message on standard output and exit successfully.
–version Print version information on standard output, then exit successfully.

If You Like What We Do Here On LinuxConcept, You Should Consider:

Stay Connected to: Twitter | Facebook

Subscribe to our email updates: Sign Up Now


We are thankful for your support.

Follow me