201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 4


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

Show Answer
Correct Answer: A

The correct command to extract only those files containing 'lpi' in their names from the archive lpifiles.tar.gz is 'tar xvzf lpifiles.tar.gz --wildcards "*lpi*"'. By using the '--wildcards' option, tar will interpret the pattern '*lpi*' and extract the matching files from the archive.

Discussion

4 comments
Sign in to comment
milan92stankovicOption: A
Jan 18, 2021

A - 100%

preto29Option: A
Jul 13, 2021

tar xvzf lpifiles.tar.gz --wildcards '*lpi*'

CEFOption: A
Feb 14, 2022

Confirm, the answare is "A". tar xvzf lpifiles.tar.gz --wildcards "*lpi*"

chiaseedOption: A
Jul 12, 2023

Agree with A!