Possible Duplicate:
Linux text editor for working with huge files
I have a log file with more 200,000 lines. How can i see the lines from 4500 to 5000. I am not sure vi editor opens up such a huge file. Please help
Possible Duplicate:
Linux text editor for working with huge files
I have a log file with more 200,000 lines. How can i see the lines from 4500 to 5000. I am not sure vi editor opens up such a huge file. Please help
vi
can open such files. That's the reason that makes vi
such an amazing editor.
But you can display your file with head -n 5000 hugefile.txt | tail -n 500
sed -n '4500,5000{p}' log.file
then you can either pipe it to less or > to a new file.