head == tail -r
The head utility displays from the beginning of a file.
If that doesn't give you what you want, look at tac (the opposite of cat). It displayes the lines of a file in reverse order.
Or, possibly tail <filename> | tac would do the job.
Last edited by bigrigdriver; 02-21-2008 at 11:03 AM.
|