Skip to main content
cleaned up syntax
Source Link
slm
  • 379.7k
  • 127
  • 793
  • 897

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@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 ~.

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

use ls -B to hide the ~ files when displaying file names

 -B or --ignore-backups = do not list implied entries ending with ~

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 ~.

Add solution finder
Source Link
xiaohan2012
  • 1.8k
  • 3
  • 15
  • 25

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

use ls -B to hide the ~ files when displaying file names

-B or --ignore-backups = do not list implied entries ending with ~

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?

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

use ls -B to hide the ~ files when displaying file names

-B or --ignore-backups = do not list implied entries ending with ~

Source Link
xiaohan2012
  • 1.8k
  • 3
  • 15
  • 25

Gnome Terminal---hide the tilde files produced by Emacs

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?