How can I unzip a GZ file without cat?

How can I unzip a GZ file without cat?
Answer
Display resume.txt.gz on screen using cat command like syntax:
  1. zcat resume.txt.gz.
  2. zmore access_log_1.gz.
  3. zless access_log_1.gz.
  4. zgrep ‘1.2.3.4’ access_log_1.gz.
  5. egrep ‘regex’ access_log_1.gz egrep ‘regex1|regex2’ access_log_1.gz.
11 нояб. 2013 г.
 

Tìm kiếm

Back
Top