hoju hoju - 2 years ago 154
Linux Question

Linux text editor for working with huge files

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.

Any recommendations for working with huge files on Linux?


Answer Source

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).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download