LPI
101-500 · Question #365
101-500 Question #365: Real Exam Question with Answer & Explanation
Sign in or unlock 101-500 to reveal the answer and full explanation for question #365. The question stem and answer options stay visible for context.
Shells and Shell Scripting
Question
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory." Which command will remove the directory?
Options
- Armdir 'bob/\bobsdir'
- Brmdir "bob/\bobsdir"
- Crmdir ~bob/ 'bobsdir'
- Drmdir bob/\bobsdir
- Ermdir ~bob/\bobsdir
Unlock 101-500 to see the answer
You've previewed enough free 101-500 questions. Unlock 101-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#shell escaping#special characters in filenames#quoting mechanisms#tilde expansion