# Ubuntu – Where do files ending with a ~ come from

backupfilenamefiles

Sometimes duplicate filenames occur while working on Ubuntu which differ only by a ~ from the original filenames.

I know kate generates backup files and calls them your_file.py.swp. Is this something similar? If yes which program generates them? And why don't they disappear?

Another common ~ file creator is emacs - some would argue it's even more popular/common than gedit.