Tag: zcat

如何从.gz压缩文件中获取几行而不需要解压缩

如何从gziped文件中获得前几行? 我试过zcat,但是抛出一个错误 zcat CONN.20111109.0057.gz|head CONN.20111109.0057.gz.Z: A file or directory in the path name does not exist.