Last active
December 27, 2015 14:58
-
-
Save GregGallant/7344008 to your computer and use it in GitHub Desktop.
Save a file in vi as sudo instead of cursing and :q!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:w !sudo tee % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment