Distros
SysAdmin
Mobile
Software
Datacenter
HPC
Development
LMTV
Look at Files in Reverse
To look at a log in reverse (most recent events first), run tac logfile | less. tac reverses the lines of any file. Use tac - to read from stdin.
By
Martin Streicher
Wednesday, October 26th, 2005
Martin Streicher
is the founder of Locomotive, an expert Rails consultancy. Formerly, he was Editor-in-Chief of Linux Magazine from 2002 to 2007. You can contact him at
martin.streicher@linux-mag.com
and follow him on
Twitter
.
Comments are closed.
Software
Stick a Fork in Flock: Why it Failed
CentOS 5.6 Finally Arrives: Is It Suitable for Business Use?
Rooting a Nook Color: Is it Worth It?
System Administration
Scripting, Part Two: Looping for Fun and Profit
Command Line Magic: Scripting, Part One
Making the Evolutionary Leap from Meerkat to Narwhal
Storage
Extended File Attributes Rock!
Checksumming Files to Find Bit-Rot
What's an inode?
Mobile
Putting Text to Speech to Work
Look Who's Talking: Android Edition
Upgrading Android: A Guided Tour
HPC
A Little (q)bit of Quantum Computing
Emailing HPC
Chasing The Number