linux查看某个时间段的日志

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