💾 Archived View for gmi.bacardi55.io › blog › 2016 › 12 › 03 › save-vim-forgot-sudo captured on 2023-07-22 at 16:48:48. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
Posted on 2016-12-03
If you forget to open a file in vim a sudo/root, you can simply do in vim (sudo needs to be installed):
:w !sudo tee %