Monday, August 16, 2010

Commands that save your Sanity No 1

:w !sudo tee %
overwrites a file that you don't have permission to write to but edited with vim nonetheless.

No comments:

Post a Comment