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

No comments:

Post a Comment