Google


Tuesday, June 29, 2010

Lines exe

The exe in the linked zip file prints the first or last rows of a very large file. You need to extract all files into the same folder as your large file, then in DOS run
lines [your file]
This will print 10 rows and also count number of rows.
You can change how many rows you see and if it's top or bottom like
lines -l 20 -t B [your file]
where 20 is number of rows and B is bottom.

If you want the output directed to a new file do
lines [your file] > [new file]

No comments: