I just had the problem that I wanted to get 2000 lines of text from a big log file (> 20 million lines). It was too much to select it in my Terminal. The only thing I know was where the text of interest started and where it ended. Sed what the hero of this day and helped me with this command:
sed -n '19121287,19123287p' big_log_file.log > sliced_text.log
19121287 was the line number where it starts and 19123287 was the line where it ends.