liunx下对日志文件快速操作 1.截取部分日志存入一个新文件中 sed -n '/2020-04-21 14:00:00/,/2020-04-21 18:00:00/p' debug.log > meAccess.log