To save a file in Vi you can type the following: :wq!
Opening large log files with the default text editor or nano very quickly becomes a resource hogging nightmare. To solve this install Vim: sudo apt-get install vim Open the file using vim: vim filename You might need to press E to edit this file.
Stay up to date! Get all the latest & greatest posts delivered straight to your inbox