[ILUG] grepping file contents
philip.quinlan at cs-consultants.com
Tue Oct 10 09:17:38 IST 2006
It'll take a while but,
head -16204487 mailbox-name|tail -17653 > middle_bit.txt
will do the job for you.
Walter Faleiro wrote:
> Currently I am stuck with a mailbox of 950M. I need to yank lines from
> line number 16186834 to 16204487.
> My problem is the sytem takes eternity to open the file, lest allow
> operations owing to its size.
> Can I use a command that will "cut" lines from 16186834 to 16204487 and
> redirect the output to another file?
> Thanks in advance,
More information about the ILUG