Editing text file using Emacs will make Emacs make a companion file for its own purpose.
For example, after first editing a file called test.c
, Emacs will leave a file called test.c~
in the same directory. This can be a little annoying when visualizing all files cluttered with the ~
files in a console
Any way to get rid of seeing these ~
files in a console, like the Gnome Terminal?
Update
Thanks to @don_crisst's comment below:
use ls -B
to hide the ~ files when displaying file names. The command line switches, -B
or --ignore-backups
, do not list implied entries ending with ~.
Best Answer
Use
ls -B
to hide the ~ files when displaying file names. The command line switches,-B
or--ignore-backups
, do not list implied entries ending with ~.