# What is bitwise.c~? [duplicate]

I am trying to made a program to experiment bitwise operators. The name of the program is bitwise.c

Before compiling the program, I decided to look at the directory just in case I don't get the name wrong.

alexander@debian:~/Dropbox/src_code/C\$ ls
bitwise bitwise.c  bitwise.c~


What is bitwise.c~ and why is it hidden from the file location?

## marked as duplicate by Anthon, vonbrand, slm♦, Ramesh, MikelMay 30 '14 at 13:38

This file is most likely created by the editor in which you have bitwise.c file open. Some editors create a temporary file while you are editing one, to track all the changes in case the program would crash without saving the file. The file should be gone once you stop editing the file.
• If my editor called "gedit" were to crash and I forgot to save it, will my program be saved from the changes bitwise.c~? – rooxgray May 30 '14 at 8:40
• I exited my gedit and the bitwise.c~ still remains. You said that the file should be gone but it still remains. Why is that? – rooxgray May 30 '14 at 20:53
By convention, files ending with ~ are backup files in UNIX. This file should contain copy of your file before last edit.