隨筆,就一條命令
sed -n '/2017:00:00:/,/2017:01:00:/p' localhost_access_logtime.2017-11-20.txt >test01.log
sed -n '/起始時間/,/結束時間/p' 日誌文件名 >test01.log
隨筆,就一條命令
sed -n '/2017:00:00:/,/2017:01:00:/p' localhost_access_logtime.2017-11-20.txt >test01.log
sed -n '/起始時間/,/結束時間/p' 日誌文件名 >test01.log