Wiki source for CommandRmdir

Show raw source

=====Command rmdir=====

This command is part of the [[CommandsPosix posix]] extensions and needs to be imported to be available to the shell.
See [[CommandsPosix Posix Commands]]

**rmdir** removes (deletes) directories

rmdir [options] dir [dir ...]


||-f|| force deletion ||


Removes (deletes directory) each argument. If the directory is not empty then this command fails.
See [[CommandRm rm]] to recursively delete directories and files

====Return Value====
Returns 0 if the command executed successfully, 1 if there was an error.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki