Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 105 discussion

Actual exam question from LPI's 101-500
Question #: 105
Topic #: 1
[All 101-500 Questions]

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?

  • A. Only a.txt, b.txt, and texts.tgz
  • B. Only texts.tar and texts.tgz
  • C. Only a.txt.gz and b.txt.gz
  • D. Only a.txt and b.txt
  • E. Only texts.tar
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
serbal
Highly Voted 4 years, 1 month ago
wrong answer - only *.tar file will be after gunzip
upvoted 34 times
cast7omadrid1
4 years, 1 month ago
true! the answer is E
upvoted 29 times
...
...
Rini_Giannenzo
Highly Voted 3 years, 5 months ago
Porcaccissimo
upvoted 6 times
...
peppiniello
Most Recent 5 months, 2 weeks ago
Selected Answer: E
tried on ubuntu
upvoted 1 times
...
blk_542
1 year, 5 months ago
Selected Answer: E
E: [root@centos-vm TAR-TESTING]# tar -czf texts.tgz a.txt b.txt [root@centos-vm TAR-TESTING]# ls -l total 4 -rw-r--r--. 1 root root 0 Nov 20 13:58 a.txt -rw-r--r--. 1 root root 0 Nov 20 13:58 b.txt -rw-r--r--. 1 root root 117 Nov 20 13:59 texts.tgz [root@centos-vm TAR-TESTING]# rm -rf a.txt b.txt [root@centos-vm TAR-TESTING]# ls -l total 4 -rw-r--r--. 1 root root 117 Nov 20 13:59 texts.tgz [root@centos-vm TAR-TESTING]# gunzip texts.tgz [root@centos-vm TAR-TESTING]# ls -l total 12 -rw-r--r--. 1 root root 10240 Nov 20 13:59 texts.tar [root@centos-vm TAR-TESTING]#
upvoted 6 times
...
gonzaloco
2 years ago
Selected Answer: E
I think is E
upvoted 1 times
...
gonzaloco
2 years ago
Selected Answer: E
E 100%
upvoted 2 times
...
HunTec
2 years ago
Selected Answer: E
E is correct
upvoted 2 times
...
Lazylinux
2 years ago
Selected Answer: E
E.....asy
upvoted 1 times
...
molotov
2 years, 2 months ago
Selected Answer: E
E is correct, tested on Ubuntu 21.10.
upvoted 1 times
...
serlan
2 years, 3 months ago
Answer E
upvoted 1 times
...
anhcq
2 years, 4 months ago
Selected Answer: E
gunzip remove original file after extract it, E is correct answer
upvoted 4 times
...
iwkno6
2 years, 8 months ago
only .tar remains so E is correct
upvoted 1 times
...
Abumazin
3 years, 1 month ago
Answer E
upvoted 2 times
...
diocane24
3 years, 1 month ago
ciao sono troppo short
upvoted 1 times
...
deewetdvjbmnjkjytfdszxc
3 years, 8 months ago
I think is D. You can create a tgz file without creating first a tar file.
upvoted 2 times
Vano1
3 years, 8 months ago
tar -czf texts.tgz a.txt b.txt create first tar archive and after create gzip compression file. I verified on Debian9 and answer is E.
upvoted 4 times
...
...
klebhen
3 years, 9 months ago
After executing some commands, the answer is E because when you use gunzip without any parameter, i.e -k --keep, the extraction will not keep .tgz, but only .tar
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...