linux查看某个时间段的日志

cat xxx.log |sed -n '/2020-08-19 23:12/,/2020-08-19 23:15/p'

posted @ 2020-08-20 10:47  宇枫  阅读(14777)  评论(0)    收藏  举报