How to get part of log

Written in

by

Very nice and useful command to dump just small part of large log file:

sed -n '/2014-09-30_16:00/,/2014-09-30_16:17/p' managed2.out >> failed_case.log

As first pattern you can specify anything where you want to begin dump (but usually it is a timestamp) and second where to end. Easy and effective…

Tags