Read a file backwards in linux – the elegant way

Posted by admin on Feb 3, 2011 in Unix |

Sometimes you may need to read a file such as a log file backwards to see the most recent events first. This can be easily done using tac – cat backwards

e.g. tac soapserver.log

Leave a Reply

XHTML: You can use these tags:' <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Copyright © 2008-2018 Brinsmead Data Services All rights reserved.