For those that don't have the tac command, to reverse a file in UNIX, you could use:

Code:
cat <file-name> | awk '&#123; line&#91;NR&#93; = $0;&#125; END&#123;for&#40;i=NR;i>1;i--&#41; print line&#91;i&#93; &#125;'