LoginSignup
2
2

More than 5 years have passed since last update.

gzip (gz) で圧縮保管したファイルを解凍せずに中身を見たい

Posted at

ファイル内の件数だけがほしいんじゃー。

$ gunzip filename.gz
$ cat filename | wc -l

zcat があるじゃない。

$ zcat filename.gz | wc -l

小さな一手間、大きな差

良き圧縮Lifeを

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2