If you are looking at file listings (ls) in Terminal on your Linux system, you may have seen duplicate files that end with a tilde (~). Such as having two files, notes.txt and notes.txt~, in the same directory.
I have found these to be quite annoying and have to manually remove them before I package up the files. I also didn’t know exactly where they came from until today.