Linux下截取指定时间段日志并输出到指定文件

sed -n '/2019-04-22 16:10:/,/2019-04-22 16:20:/p' log.log > bbb.txt

原文地址:https://www.cnblogs.com/mrwuzs/p/10752037.html