gz文件不需要解压即可进行相关操作

$ zcat test.log.gz
$ zmore test.log.gz
$ zless test.log.gz
$ zgrep '1.2.3.4' test.log.gz
$ egrep 'regex' test.log.gz

 

相关文章:

  • 2021-07-24
  • 2021-11-17
  • 2021-04-22
  • 2021-09-16
  • 2021-08-26
  • 2021-06-10
  • 2021-07-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-08-08
  • 2021-08-26
  • 2021-09-22
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案