mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:25:06 +00:00
498 B
498 B
Name
rmdir - remove empty directories
Synopsis
$ rmdir `[directory...]`
Description
Remove given directory(ies)
, if they are empty
Arguments
directory
: directory(ies) to remove
Examples
# Try to remove non-empty directory
$ mkdir serenity ; echo cool > serenity/cool.txt
$ rmdir serenity
rmdir: Directory not empty
# Remove empty directory
$ mkdir example
$ ls -a example
. ..
$ rmdir example
$ ls -a example
example: No such file or directory