gunzip -c fgrep 111111 gw.log.gz 我用这个命令查询 好象只能读取内容 不能搜索内容不知道有没有方法可以查找,期待你的帮助
或者gunzip -c file.gz | grep XXX
gunzip -c file.gz | less