Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM Exam LCP-001 Topic 2 Question 36 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 36
Topic #: 2
[All LCP-001 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: D

The answer should be ''Match a literal + symbol'' because there is a backslash symbol before the plus, so it should match a literal +.


Contribute your Thoughts:

Crista
2 days ago
I'm not sure, but I think it's important to remember that the backslash is needed before special characters like spaces or slashes in Unix commands.
upvoted 0 times
...
Yoko
3 days ago
I agree with Georgiana, because the backslash is used to escape special characters in Unix commands.
upvoted 0 times
...
Georgiana
6 days ago
I think the answer is D) rmdir bob/\\bobsdir.
upvoted 0 times
...

Save Cancel