I am attempting to write a php program in linux and I am using either blue fish or gedit. Both those programs are not saving the true name of the file "newaccount.php" but instead saving "newaccount.php~" Why is linux doing this and how can I get it to stop? Thank you.
migrated from stackoverflow.com Sep 27 '12 at 3:14
This question came from our site for professional and enthusiast programmers.
This is the backup file before save. See https://help.ubuntu.com/community/gedit
That is because
Here I created a file called
[max@localhost ~/zzz]$ ls -l total 0 -rw-rw-r-- 1 max max 0 Sep 27 18:39 1 [max@localhost ~/zzz]$ gedit 1
Now I opened the file with
After saving I typed
[max@localhost ~/zzz]$ ls -l total 4 -rw-rw-r-- 1 max max 12 Sep 27 18:40 1 -rw-rw-r-- 1 max max 0 Sep 27 18:39 1~
To Avoid this just follow this method
Here just change
Files ending with a