in reply to Capturing the first and last line of a file ?
$ head -1 <filename> $ tail -1 <filename> [download]
-derby