CompTIA A+ Core 2 (220-1102) — Question 633
Which of the following command-line tools will delete a directory?
Answer options
- A. md
- B. del
- C. dir
- D. rd
- E. cd
Correct answer: D
Explanation
The correct answer is D, 'rd', which stands for 'remove directory'. The options A ('md') and E ('cd') are used for creating and changing directories, respectively, while B ('del') is used for deleting files, and C ('dir') is used for listing directory contents.