Waffelson@lemmy.world to linuxmemes@lemmy.world · 8 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 · 8 months agomessage-square43fedilink
minus-squarehuginnlinkfedilinkarrow-up2·8 months agoYeah learning about tee from this thread honestly. It’s been interesting realizing I had such a useful tool at my disposal but never knew
Lazier way:
:w !sudo tee %
Yeah learning about
tee
from this thread honestly.It’s been interesting realizing I had such a useful tool at my disposal but never knew