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 4 Question 56 Discussion

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

As root you have navigated to directory /B. You wish to move all of the files and directories from directory /A to directory /B. Which of the following options would be the most appropriate command line to execute this task?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Cecily
4 days ago
Haha, C is classic. Move everything with -Rf, what could possibly go wrong? I'm just going to go ahead and try that one.
upvoted 0 times
...
Cordelia
7 days ago
I think E is the way to go. Copying the files recursively with -rf seems like the safest option to me.
upvoted 0 times
...
Micah
9 days ago
Option B looks good, but I'm not sure about the -f flag. Shouldn't we just use mv without any extra flags?
upvoted 0 times
...
Teddy
11 days ago
That makes sense too, but I think E) cp -rf /A/* /b/ is safer in case we need to keep a backup of the files in /A.
upvoted 0 times
...
Adolph
13 days ago
I disagree, I believe the answer is B) mv -f /A/* because we want to move the files and directories, not copy them.
upvoted 0 times
...
Teddy
15 days ago
I think the correct answer is E) cp -rf /A/* /b/ because it copies all files and directories from /A to /B.
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