How to save read-only files in the Vi editor?

July 25, 2012
command-line vim-editor

For sure it must have happened so many times with you too that after making several edits to a file through Vi, you realise it’s a read-only file and you would need root privilege to save the modifications. Well… Next time you face it, don’t pull your hair, just try this:

:w !sudo tee %

Linuxfest 2013, mass mail...

February 7, 2014
linux command-line email

Microsoft Windows Command Line Cheat-Sheet

October 6, 2013
command-line windows microsoft

find – explained through a screencast

September 1, 2013
linux command-line