HEre image attached of one example. index.html and index.html~ appears everytime I finish editing the file. But it does not have any content and it does not go away unless I delete it, but, I am afraid of deleting the actual file. 
Asked
Active
Viewed 26 times
0
Ken Sandoval
- 381
1 Answers
0
The index.html~ is meant to be a backup of the file.
When you edit a file with Gedit, Ubuntu saves the original as filename~. The backup file is supposed to reflect what the original file looked like before it was edited.
It doesn't contain a whole backup history. It just keeps the last version of the file for you.
TheWanderer
- 19,525
- 12
- 52
- 65