Scroll to navigation

RMDIR(1) User Commands RMDIR(1)


rmdir - manual page for rmdir 8.32


rmdir [OPTION]... DIRECTORY...


Remove the DIRECTORY(ies), if they are empty.


is non-empty
remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b/c' is similar to 'rmdir a/b/c a/b a'
output a diagnostic for every directory processed
display this help and exit
output version information and exit

GNU coreutils online help: <> Report any translation bugs to <> Full documentation <> or available locally via: info '(coreutils) rmdir invocation'


Written by David MacKenzie.


Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

August 2022 GNU coreutils 8.32