This question already has an answer here:
- What does *~ mean? 1 answer
What is the file with the
~ at the end of the filename for?
$ ls # aliased to add flags -rwxrwxr-x 1 durrantm 2741 May 16 09:28 strip_out_rspec_prep_cmds.sh~* drwxrwxr-x 13 durrantm 4096 May 16 14:21 ../ -rwxrwxr-x 1 durrantm 2221 May 16 14:58 strip_out_rspec_prep_cmds.sh*
This is not the same as
.swp files which are there while editing.
The two files have quite a few differences and the newer file (no
~ at the end) has the most recent changes and those changes are not in the older (~) file.
Looks like I can delete it?