LPIC-1 Exam 101 v5 (Linux Administrator) — Question 8

If the gzip compressed tar archive texts.tgz contains the files a.txt and b.txt, which files will be present in the current directory after running gunzip texts.tgz?

Answer options

Correct answer: E

Explanation

The correct answer is E, as gunzip will decompress the gzip file, resulting in the tar archive texts.tar being extracted. The original gzip file texts.tgz is removed during this process, while the contents within the tar file (a.txt and b.txt) remain compressed until the tar archive is extracted separately. Options A, B, C, and D are incorrect because they suggest the presence of the original gzip file or the individual text files without decompressing the tar archive first.