From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Thu Dec 04 2003 - 08:43:06 EST
cat -n {filename}|sort -nr|cut -c 8-
--------------------------------------------------------
"If everything is coming your way, then you are in the wrong lane"
Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax
"Yard, John"
<jyard@AIS.UCLA.E
DU> To
Sent by: IBM AIX aix-l@Princeton.EDU
Discussion List cc
<aix-l@Princeton.
EDU> Subject
Scripting
12/03/2003 07:18
PM
Please respond to
IBM AIX
Discussion List
<aix-l@Princeton.
EDU>
I have many korn shell scripts that mail me log
output from different systems. I find that the
output that I am most interested tends to be at the end
of my mailed output.
Is there a technique to read in reverse order
the output of an Aix log, for example syslog ?
John Yard
UCLA
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:23 EDT