http://www.perlmonks.org?node_id=25261


in reply to Is there a way to read a file backwards?

This isn't really a Perl thing, just a general unix tip (although you could run this from a Perl script...dirty!) There is a userland util called 'tac' that does an upside-down 'cat'. It's come in handy on numerous occasions, and I often find myself using it when I need to see more info than I get from tail -f.
  • Comment on Re: Is there a way to read a file backwards?