# Based on line number : sed -n 'startlineNumber,endlineNumber p' inputfile # Based on a pattern which can be timestamp as well : sed -n '/start-pattern/,/end-pattern/p' inputfile > extracted_file
A simple and professional blog to shaver the information around the globe!!!