From IT Mission Linux Tips, Hacks, Tutorials, Howtos - Itmission.org
Main: SED-TIPS
Using Sed to get log files in a time range...
sed -n '/Oct 25 04:/,/Oct 25 06:/p' /var/log/messages|less
Retrieved from http://www.itmission.org/Main/SED-TIPS
Page last modified on December 14, 2012, at 04:11 PM