Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何计算 gzip 文件中的行数? wc -l 可用于从普通文件中获取行数,但如果它是 .gz 文件呢?
wc -l
Try to do this, It may help You.
gzcat filename.ZIP|wc -l