U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation LFCS Exam - Topic 9 Question 37 Discussion

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?
E) tar -cf backup.tar /home
A) tar /home backup.tar
B) tar -cf /home backup.tar
C) tar -xf /home backup.tar
D) tar -xf backup.tar /home

Linux Foundation LFCS Exam - Topic 9 Question 37 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 37
Topic #: 9
[All LFCS Questions]

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

Show Suggested Answer Hide Answer
Suggested Answer: E

Contribute your Thoughts:

0/2000 characters
Lura
8 months ago
I thought you needed -z for compression?
upvoted 0 times
...
Sage
8 months ago
No way, B looks right too!
upvoted 0 times
...
Jolanda
8 months ago
Wait, is it really that simple?
upvoted 0 times
...
Vivienne
8 months ago
Totally agree, E is the way to go.
upvoted 0 times
...
Rana
8 months ago
Option E is the correct command!
upvoted 0 times
...
Shaunna
8 months ago
I definitely recall that `tar -cf` is used for creating archives, so I’m leaning towards E as the right answer.
upvoted 0 times
...
Ozell
8 months ago
I feel like `-xf` is for extracting files, so that rules out C and D, but I'm confused about the others.
upvoted 0 times
...
Silvana
8 months ago
I remember practicing a similar question, and I think the correct command needs to specify the output file first, so it might be E.
upvoted 0 times
...
Justine
9 months ago
I think the command to create an archive should include the `-c` option, but I'm not sure if it's option E or B.
upvoted 0 times
...
Bernadine
9 months ago
I'm a bit confused by the wording of the question. Can someone explain the Twelve-Factor methodology to me again?
upvoted 0 times
...
Colene
9 months ago
Hmm, I'm not entirely sure what Setup Assistant is. The options seem a bit vague, so I'll have to think this through and see if I can eliminate any of the choices that don't seem to fit.
upvoted 0 times
...
Roxane
9 months ago
Hmm, I'm a bit unsure about the difference between detect and prevent controls. I'll need to think this through carefully.
upvoted 0 times
...

Save Cancel