linux查看某个时间段的日志

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

原文地址:https://www.cnblogs.com/zyf-yxm/p/13533764.html