News for hackers. Stuff that matters.
Re:Favorite Unix Commands by ralph on Monday January 07, 2013 @05:49PM (#5023750)
What benefit does

    :!sudo tee %
have over doing it at the command line other than filling in the current filename for you? I suspect the original poster meant something like "gg!Gsudo tee %".
Re:Favorite Unix Commands by AjithAntony on Monday January 07, 2013 @08:54PM (#5024478)
:w !sudo tee %