Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 201-450 Topic 15 Question 81 Discussion

Actual exam question for LPI's 201-450 exam
Question #: 81
Topic #: 15
[All 201-450 Questions]

Which of the following commands restores only those files containing lpi in their name from the archive lpifiles.tar.gz?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Ezekiel
5 months ago
That makes sense, thanks for explaining. I'll go with D) as well.
upvoted 0 times
...
Marlon
5 months ago
Sure, D) is the option that specifies the '--subdirs' flag which should include all subdirectories with files containing 'lpi' in their name
upvoted 0 times
...
Rasheeda
6 months ago
I see your point, Marlon, but can you explain why you think D) is the correct answer?
upvoted 0 times
...
Ezekiel
6 months ago
I'm not sure, but I think C) tar -xvfz lpifiles.tar.gz --deep '*lpi*' might be the right one
upvoted 0 times
...
Marlon
6 months ago
I disagree, I believe the correct answer is D) tar -xvzf lpifiles.tar.gz --subdirs '*lpi*'
upvoted 0 times
...
Rasheeda
6 months ago
I think the answer is A) tar xvzf lpifiles.tar.gz --wildcards '*lpi*'
upvoted 0 times
...
Elise
6 months ago
I'm not sure which one is correct. Can someone break it down for me?
upvoted 0 times
...
Jolene
6 months ago
I think option C includes the --deep flag which should search for files containing 'lpi' in their name within subdirectories.
upvoted 0 times
...
Queen
7 months ago
But why do you think that? Can you explain your reasoning?
upvoted 0 times
...
Jolene
7 months ago
I disagree, I believe the correct answer is C) tar -xvfz lpifiles.tar.gz --deep '*lpi*'.
upvoted 0 times
...
Queen
7 months ago
I think the answer is A) tar xvzf lpifiles.tar.gz --wildcards '*lpi*'.
upvoted 0 times
...

Save Cancel