I have a large file containing 400K rows.
I have to select rows between 45,000 to 50,000.
I know I can write a have program and keep counting the rows and then select the lines between the interval.
However, would love to know is there a way from doing in command line in the shell?