rmdir command means Remove directories.
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!