I tried unxutils\' wc -l but it crashed for 1GB files. I tried this C# code
wc -l
long count = 0; using (StreamReader r = new StreamReader(f)) { st
Are you just looking for a tool to count lines in a file, and efficiently? If so, try MS LogParser
Something like below will give you number of lines:
LogParser "SELECT count(*) FROM file" -i:TEXTLINE