How to View and Edit Large Files in Linux Using “less” and “sed”
Have you ever tried opening a large file of hundreds of MB or several GB in vi? It can take forever. And making edits is even longer. This is because vi loads the entire file into memory before displaying it to you. For large files, there are better and more efficient tools like “less” and “sed”. Here’s a tutorial on how to use them.