Bird
0
0

You want to view a compressed file archive.gz page by page without decompressing it manually. Which command combination is best?

hard📝 Application Q9 of 15
Linux CLI - Viewing and Editing Files
You want to view a compressed file archive.gz page by page without decompressing it manually. Which command combination is best?
Azless archive.gz
Bless archive.gz
Cmore archive.gz
Dcat archive.gz | less
Step-by-Step Solution
Solution:
  1. Step 1: Identify tools for viewing compressed files

    zless is designed to view compressed files directly with pagination.
  2. Step 2: Analyze other options

    less and more do not decompress automatically; piping cat outputs compressed data unreadable.
  3. Final Answer:

    zless archive.gz -> Option A
  4. Quick Check:

    Use zless for compressed files [OK]
Quick Trick: Use zless to view compressed files directly [OK]
Common Mistakes:
  • Trying less or more without decompression
  • Piping cat compressed data
  • Not knowing zless exists
  • Assuming less auto-decompresses

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes