'head -n 5000' gets the first 5000 lines from the file and then pipes to 'tail -n 1' to get the last line of of the first 5000 lines. Evetually, it will show only the 5000th line.
- MS
__________________
"All my technical advices in this forum must be consulted with and approved by a local registered professional engineer before implementation" - Mohammed Samad (Linkedin Profile: http://www.linkedin.com/in/msamad)