Waffelson@lemmy.world to linuxmemes@lemmy.world · 7 months agoWhen you realized you forgot sudolemmy.worldimagemessage-square43fedilinkarrow-up1373arrow-down118
arrow-up1355arrow-down1imageWhen you realized you forgot sudolemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 7 months agomessage-square43fedilink
minus-squareBotzo@lemmy.worldlinkfedilinkarrow-up5·7 months agoIt’s a simple trick in Vim: https://stackoverflow.com/a/7078429 For the lazy: :w !sudo tee > /dev/null %
It’s a simple trick in Vim:
https://stackoverflow.com/a/7078429
For the lazy:
:w !sudo tee > /dev/null %