QuestionQ30

VerifiedFilesystem and Devices

Which of the following commands restores only files with lpi in their names from the lpifiles.tar.gz archive?

Explanation

GNU tar uses -x to extract, -z for a gzip-compressed archive, and -f for the archive filename. Its --wildcards option interprets *lpi* as a member-name pattern, selecting only archive entries whose names contain lpi.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!