←  linux commands

Views:

rmdir command

The rmdir command is used to remove the empty folder(s). This command only works with empty directories.

Syntax: rmdir folder(s)

Example:

# To remove myfolder directory
rmdir myfolder
rmdir-output