Which command is used to delete a directory?
Explanation
The correct command to delete a directory is 'rmdir'. Alternatives like 'rd' may work in some environments, but 'rmdir' is the standard command for this purpose.
The correct command to delete a directory is 'rmdir'. Alternatives like 'rd' may work in some environments, but 'rmdir' is the standard command for this purpose.