[ale] Viewing huge log files efficiently
Geoffrey
esoteric at 3times25.net
Fri May 30 18:42:55 EDT 2003
John Wells wrote:
> Ok, so now I have a 132 mb log file that's been gziped up. What's the
> most efficient way of getting, say, the last 1000 lines or so? I thought
> about:
>
> tail -1000 $(zcat out.gz)
I don't think that will work. tail will be expecting a file name, not a
bunch of data. I think you're pretty much stuck with:
zcat out.gz|tail -1000
--
Until later: Geoffrey esoteric at 3times25.net
The latest, most widespread virus? Microsoft end user agreement.
Think about it...
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list