rmdir command means Remove directories.
![rmdir command in Linux with Examples](https://www.devopsroles.com/wp-content/uploads/2019/01/rmdir-command-in-Linux-with-Examples.jpg)
Syntax
rmdir [−p] dir…
On the man page, the describes it
- rmdir – delete a directory
- man rmdir – More details information about rmdir command.
rmdir command in Linux with Examples
$ rmdir myfolder
Conclusion
rmdir command is the simple command in Linux. It is the most popular in use terminal Linux delete a directory. Thank you for reading the DevopsRoles page!