Say I have a text file: story.txt.
Is there a command that allows me to print on the screen only lines 30 to 35 from this file? The only solution I can think of would be this:
But that isn't really pretty. Is there a better way?Code:$ cat story.txt | head -n 35 | tail -n 5