windows - Faster alternative to the command type? -
recently i've been looking command can display text file on terminal, , fast. can open file in less 1 second in notepad + + type takes 25 seconds reading. have better alternative?
the problem have not in opening , reading file, it's time taken output terminal screem.
if you're interested in last few lines of file (and assume that's case unless can read million times faster regular mortals), can use tail
either cygwin or gnuwin32 (in coreutils). assuming don't need full awesome power of unix-like environment, i'd opt latter since provides tools can run standalone.
the command:
tail -50l input.txt
(for last 50 lines) should work substantially faster full file output. gives other nifty features "following" file that's being updated periodically.
Comments
Post a Comment