Which command is used to delete a directory?

Choose the correct answer

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.

Which command is used to delete a directory? — Basic of linux unix | PakQuizHub