Skip to content

Rmdir command purpose linux windows

Question

What is the purpose of the rmdir command?

Answer

The rmdir command is used to remove empty directories in both Linux and Windows operating systems. If the directory contains files or other directories, it cannot be removed with this command.