just for completeness: perl -ne 'print if 453555..453590' your_big_file -- Nothing ventured, nothing lost.