I have files ending in ~ in my home directory, and I want to delete them. How do I do that? How do I prevent this backup functionality?
Backup – How to Remove Hidden Backup Files
backupgedithidden-filesnano
backupgedithidden-filesnano
I have files ending in ~ in my home directory, and I want to delete them. How do I do that? How do I prevent this backup functionality?
Best Answer
You can simply run
rm *~
if you're sure there is no other file that you need which ends in~
If it is
gedit
that is creating the backup files, you can open gedit and selectEdit->Preferences->Editor
and uncheck the option"Create a backup copy of files before saving"
And for
nano
, look in/etc/nanorc
for:and change that to