How do you delete a directory?
-
rm directory
-
mv directory
-
cd directory
-
rmdir directory
D
Correct answer
Explanation
The rmdir command is the standard Unix/Linux command to remove an empty directory. rm is used for files (unless used with -r), mv is for moving/renaming, and cd is for changing directories.