LPIC-1 Exam 101 v5 (Linux Administrator) — Question 13

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remote that directory?

Answer options

Correct answer: A

Explanation

The correct command is A, as it accurately targets the subdirectory with the correct escape characters. Option B uses quotes incorrectly, which would treat the path as a string rather than a command. Options C and E do not reflect the correct directory name, and D mistakenly omits the escape character before 'dir', making it invalid.