Tired of getting
Error writing ...
Permission denied when you forget to type
nano? Don't want to waste time retyping changes or moving it to and from temporary file? Copy this handy function to your
.bashrc to automatically use
sudo if file requires higher permissions.
Same for Fish shell
More handy bash stuff here.
Hosted on Cloudflare Pages, which is awesome!