[root@localhost 2019-12]# sed -n '/2019-12-01 13:15:01/,/2019-12-01 19:09:46/p' 20008-chat-1-2019-12-01.log > /export/25-30.log
sed 查出所选时间的内容
最新推荐文章于 2024-01-31 15:21:37 发布
[root@localhost 2019-12]# sed -n '/2019-12-01 13:15:01/,/2019-12-01 19:09:46/p' 20008-chat-1-2019-12-01.log > /export/25-30.log