hoju hoju - 1 month ago 5x
Linux Question

Working with huge files in linux

I have a huge (~2GB) file that I need to navigate around. I don't actually need to edit it, just jump around efficiently.

I tried vim but it choked.


Vim has a LargeFile plugin for larges files. It will basically configure vim to not use a swap file and undo levels when opening big files (like in Vim Tip 611).

But I think I'd rather use grep and split to navigate in such a file (see Grep with large patterns files).