Text filters · Question 5 of 12

Which command shows the contents of report.txt.gz without decompressing the file?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • C zcat report.txt.gz

Explanation

zcat belongs to gzip (.gz), bzcat to bzip2 (.bz2) and xzcat to xz (.xz). The file itself remains unchanged.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications