Originally Posted by cgkee
I think I have answered the question myself:
head -N file | tail -1
Where N is the line number you wish to view, and file is the filename
but if any experts then have additional useful tips that this often leads on to, I would be delighted to hear from you!
It's not an uppercase 'N' but lowercase, and Linux commands almost always care about case.
Another approach in a situation like this is to find something about the specific error message's content that's unique, like certain words or numbers, and filter on that instead of the line number, which is typically more difficult to pinpoint. This had the added advantage that any similar error messages will appear in the result.