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:

I bet Bob's fingers slipped when he was trying to type the command. These things happen, but we've all been there, right?
upvoted 0 times
...
Berry
3 days ago
Wait, did Bob really create a directory called '\\bobsdir'? That's a strange name, even for a Unix admin.
upvoted 0 times
...
Jestine
12 days ago
Hmm, the error message says 'No such file or directory', so it's clear the directory name is not correct. Let me think this through.
upvoted 0 times
...
Crista
20 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
21 days ago
I agree with Georgiana, because the backslash is used to escape special characters in Unix commands.
upvoted 0 times
...
Georgiana
25 days ago
I think the answer is D) rmdir bob/\\bobsdir.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77