Thursday, September 27, 2018

Need sudo in order to save

If you are editing a file without sudo, and you need sudo in order to save, simply use this vim command
:w !sudo tee %

No comments:

Post a Comment

What's the quickest way to find duplicated files?

find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD fdupes -r / linux_czkawka_gui.AppImage