COHERENT manpages
This page displays the COHERENT manpage for rmdir [Remove directories].
List of available manpages
Index
rmdir -- Command Remove directories rmdir [ -f ] directory ... rmdir removes each directory. This will not be allowed if a directory is the current working directory or is not empty. The force option -f allows the superuser to override these restrictions. rmdir removes the `.' and `..' entries automatically. Note that using the -f option on a directory that is not empty will damage the file system, and require that it be fixed with fsck. See Also commands, mkdir, rm Notes rmdir -f does not remove files from a nonempty directory: it simply orphans them. To remove a nonempty directory and its contents, use rm -r instead.