rmdir
Removes a directory.
Install
- All systems
-
curl cmd.cat/rmdir.sh
- Debian
-
apt-get install coreutils
- Ubuntu
-
apt-get install coreutils
-
Alpine
-
apk add coreutils
- Arch Linux
-
pacman -S coreutils
- Kali Linux
-
apt-get install coreutils
- CentOS
-
yum install coreutils
- Fedora
-
dnf install coreutils
- OS X
-
brew install coreutils
- Raspbian
-
apt-get install coreutils
- Dockerfile
- dockerfile.run/rmdir
- Docker
-
docker run cmd.cat/rmdir rmdir
powered by Commando
Removes a directory.
-
Remove directory, provided it is empty. Use `rm` to remove not empty directories:
rmdir path/to/directory
-
Remove directories recursively (useful for nested dirs):
rmdir -p path/to/directory
© tl;dr; authors and contributors