0

I see the following files in my directory -

-rw-rw-r-- 1 sjos sjos  401 Oct 12 15:29 Makefile
-rw-rw-r-- 1 sjos sjos  401 Oct 12 15:29 Makefile~
-rw-rw-r-- 1 sjos sjos  336 Oct 12 15:12 testIfaceIndex.c
-rw-rw-r-- 1 sjos sjos  336 Oct 12 15:12 testIfaceIndex.c~

My question is how can I get rid of the file Makefile~ and testIfaceIndex.c~? I have tried the command sync on the folder but it didn't work. how can I sync the files? What is the complete command to do so?

2

Those two are ordinary files, judging by the filenames they are probably backups made by a text editor.

The only way to make them go away is to explicitly remove them

rm *~
0

Not the answer you're looking for? Browse other questions tagged or ask your own question.