Shortening large CSV on debian

Posted by Unkwntech on Stack Overflow See other posts from Stack Overflow or by Unkwntech
Published on 2009-02-04T12:56:45Z Indexed on 2010/03/19 19:11 UTC
Read the original article Hit count: 234

Filed under:
|
|

I have a very large CSV file and I need to write an app that will parse it but using the >6GB file to test against is painful, is there a simple way to extract the first hundred or two lines without having to load the entire file into memory?

The file resides on a Debian server.

© Stack Overflow or respective owner

Related posts about large-files

Related posts about text