rmdir directory ...
rmdir
command removes the provided list of directories (they are removed in the order given).rmdir
command.$ rmdir folder1The folder must be empty, otherwise, you will get this error: "
rmdir: folder: Directory not empty
".$ rmdir folder/folder1 folder/folder2 folder