IN order to display from line 1 million, for 20 lines, I ended up with
head -1000020 myfile | tail - 20
That works and I’ve wrapped in a function that does arithmetic for it. But I was wondering if there’s an existing bash or unix command for it.
Am on macOs, but happy knowing Linux for it too.