Getting one line in a huge file with bash

Posted by JavaRocky on Stack Overflow See other posts from Stack Overflow or by JavaRocky
Published on 2010-05-08T12:32:19Z Indexed on 2010/05/08 12:38 UTC
Read the original article Hit count: 240

Filed under:

How can i get a particular line in a 3 gig text file. The lines are delimited by \n. And i need to be able to get any line on demand.

How can this be done? Only one line need be returned.

© Stack Overflow or respective owner

Related posts about bash