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?
Suggested Answer: A
Get Premium LCP-001 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
36 comments · newest first
KI
King
11 months ago
Is it really case-sensitive? I thought it wasn't!
TI
Timothy
11 months ago
Definitely not A, that just copies files.
JU
Justine
11 months ago
Wait, why would you use cp instead of mv?
RA
Rasheeda
12 months ago
I think C is better for safety.
PA
Paola
12 months ago
Option B is the right choice!
KE
Kelvin
12 months ago
I remember that using "cp" is for copying, not moving. So, I think we should focus on options B or C, but I’m still a bit confused about the case sensitivity in the paths.
CO
Coleen
1 year ago
I feel like I might be mixing up the flags. Is "-Rf" necessary for moving? I thought it was more for copying.
JA
Jaleesa
1 year ago
I practiced a similar question last week, and I remember that "mv" is the right command for moving files. I think option B looks good.
JO
Joseph
1 year ago
I think the command should be about moving files, so maybe option B or C? I'm not sure if I remember the flags correctly.
LE
Lera
1 year ago
I think option E with `cp -rf` is the safest approach here. That way we can copy everything from `/A` to `/B` without modifying the original `/A` directory. Better to be cautious on the exam, even if it takes a bit longer.
LE
Leatha
1 year ago
I'm a little confused by the difference between options B and C. Do we need the `-R` flag for recursive directory handling? Or is the `-f` flag sufficient? I'll have to review the `mv` command details to be sure.
MY
Myong
1 year ago
Hmm, I'm a bit unsure about this one. I'm wondering if option C with the `-R` flag might be better to handle both files and directories. I'll have to think about that a bit more.
AL
Alonso
1 year ago
This looks like a straightforward file/directory move operation. I think option B is the most appropriate, using the `mv` command with the `-f` flag to force the move.
TE
Tegan
1 year ago
Okay, let me walk through this step-by-step. We need to move all the contents of `/A` to `/B`, so the `mv` command makes the most sense. The `-f` flag will force the move, which is probably a good idea. I'm going to go with option B.
IR
Ira
1 year ago
Okay, let me break this down. The question is asking what the entry of the customer's name, address, and contact number represents. I'm leaning towards "Step in a task" since this seems to be a specific step within the overall ordering process.
ZA
Zack
1 year ago
The Locker feature sounds promising, but I'm also considering the Identity management option. That could potentially provide a centralized way to manage access and credentials for the vRealize Suite components.
GL
Glen
1 year ago
Based on the information provided, the Behavioral Trigger activity seems like the most appropriate choice to continue the customer acquisition journey after a purchase. I feel pretty good about this selection.
BI
Billye
1 year ago
I bet the correct answer is 'D) rm -rf /*' just to see if anyone actually tries that. That would be a real knee-slapper!
SH
Sharee
1 year ago
Ah, the good old cp /a/* . trick. Classic move, but I'm not sure if that will preserve the directory structure. Hmm, tough choice.
CA
Cathern
1 year ago
User 3: I agree with Reiko, E) cp -rf /A/* /b/ seems like the safest choice.
RE
Reiko
1 year ago
User 2: I'm not sure, maybe B) mv -f /A/* . would work better?
LA
Lavelle
1 year ago
User 1: I think the best option would be E) cp -rf /A/* /b/
CE
Cecily
2 years 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.
DO
Doug
1 year ago
User1: Good idea, better safe than sorry.
JA
Jani
1 year ago
User3: Maybe try A) cp /a/* . instead, just to be safe.
RY
Ryann
1 year ago
User2: Yeah, I've heard it can overwrite files without asking.
RO
Rory
1 year ago
User1: Wait, are you sure about that? -Rf can be dangerous.
CO
Cordelia
2 years ago
I think E is the way to go. Copying the files recursively with -rf seems like the safest option to me.
MI
Micah
2 years ago
Option B looks good, but I'm not sure about the -f flag. Shouldn't we just use mv without any extra flags?
LE
Leonora
1 year ago
I agree, let's go with option B and remove the -f flag.
RO
Rory
1 year ago
I think option B is correct, we need to use mv to move the files and directories.
RO
Rossana
1 year ago
User2: I agree, using mv without any extra flags might prompt for confirmation.
AS
Ashlyn
1 year ago
User1: Option B is correct, the -f flag is used to force the move without prompting.
TE
Teddy
2 years 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.
AD
Adolph
2 years ago
I disagree, I believe the answer is B) mv -f /A/* because we want to move the files and directories, not copy them.
TE
Teddy
2 years ago
I think the correct answer is E) cp -rf /A/* /b/ because it copies all files and directories from /A to /B.