Back

对日志的压缩和处理 ( gzip, zgrep log files )

发布时间: 2013-06-27 06:29:00

1. compress a file:  $ gzip <file_name> 

2. search a regex from a zipped file :  $ zgrep "abc" some_file.gz

Back