摘要: 命令: grep '时间' '日志文件名 ' 例如:我要查log.log文件中2022年01月6号11:34至11点37之间的日志信息 grep '2022-01-06 11:3[4-7]' log.log 查询2022-01-06 十点到十一点的数据 grep '2022-01-06 1[0-1] 阅读全文