for i in log.{48..1}.gz ; do printf "$i\t" ; zgrep problem $i | wc -l ; done # Generate line stats of a problem over time in old logs
for i in log.{48..1}.gz ; do printf "$i\t" ; zgrep problem $i | wc -l ; done # Generate line stats of a problem over time in old logs
Comments
Post a Comment