/ Published in: Bash
tail -n+99 foo.txt will read everything from foo.txt, starting with line 99. Pipe that into more and you just look at the few line(s) you really need.
To narrow this so it only prints the interesting lines (and not everything after those lines), see the nice solutions from deepsoul, below.
Expand |
Embed | Plain Text
tail -n+99 foo.txt | more
Comments
Subscribe to comments
You need to login to post a comment.

Regarding the todo: is this what you mean:
Or perhaps:
Both print lines 99 to 118.