This question already has an answer here:
I use gedit to modify/create files in my system, and sometimes I see that after editing, a duplicate file is created by the name of
~ is extra. Why does this happen? Is there any significance of this file or is it okay if I delete it (I usually do)?