On Fri, 2009-07-24 at 12:10 -0500, Alex Dean wrote: > On Jul 24, 2009, at 12:00 PM, Joe wrote: > > How can I remove from line 0 to line 1000000 (as an example) from the > > file? Or, how can I export from line 1000001 to the end in a new file > > (which I could then replace the current mailbox file with)? I have no > > idea how to accomplish either. > > Try split. 'man split' It will break 1 file into many, and you can > give it criteria like 'split after X lines'...
You can also play with "head" and "tail". They'll give you the first
part or last part of a file. You can specify the number of lines that
you want them to give. "wc -l" will give you the total number of lines
in a file.
--Ted
signature.asc
Description: This is a digitally signed message part
--------------------------------------------------- PLUG-discuss mailing list - [email protected] To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
