How do I view the contents of a gzip file?

How do I view the contents of a gzip file?
Answer
How to read Gzip compressed files in Linux command line
  1. zcat for cat to view compressed file.
  2. zgrep for grep to search inside the compressed file.
  3. zless for less, zmore for more, to view the file in pages.
  4. zdiff for diff to see the difference between two compressed files.
 

Tìm kiếm

Back
Top