naseeam
asked on
In Linux, does Filename followed by tilde character imply a backup file?
i.e.
filename.h~
What kind of file is this?
filename.h~
What kind of file is this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not necessarily. The text editors I've used seem to save backup files regardless. My web development area is littered with files ending with a tilde.
ASKER
I'm using Codewright V7.0 for editing files.
ASKER
>> If they disturb you, you can remove those files with
rm *~
I can also delete them from Windows Explorere, right?
rm *~
I can also delete them from Windows Explorere, right?
ASKER
I get two files:
filename.bak
filename.cpp~
Are they both backup files?
filename.bak
filename.cpp~
Are they both backup files?
It all depends on the application/program you are using when these occur.
It is impossible to say since there are different scenarios when these types of files are created.
It is impossible to say since there are different scenarios when these types of files are created.
ASKER
I don't think Codewright is creating files followed by tilde because everytime I edit a file in Codewright, I get a filename.bak
Once in a while I use Vim editor. Maybe Vim is creating tilde file.
Once in a while I use Vim editor. Maybe Vim is creating tilde file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If they disturb you, you can remove those files with
rm *~
(but be very careful with the rm command and wildcards).