=====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]] ====Name==== **rmdir** removes (deletes) directories ====Synopsis==== rmdir [options] dir [dir ...] ====Options==== ||-f|| force deletion || ====Description==== 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. ---- [[Commands]] [[CategoryCommands]] [[CommandsPosix]]