Given a text file of unknown length, how can I read, for example all but the first 2 lines of the file? I know tail will give me the last N lines, but
tail
Try sed 1,2d. Replace 2 as needed.
sed 1,2d