Showing posts with label filter backup files on ls. Show all posts
Showing posts with label filter backup files on ls. Show all posts

Friday, June 24, 2016

Ignore Backup Files on 'ls' Listing

I don't want to see 'filename~' backup files on 'ls' listing. How do I ignore it?

To do that, use the following commands

ls -B directory_to_list


or

ls --ignore-backups directory_to_list