Saturday, 8 June 2013

How do I show all hidden & invisible files on the command line (both .files and invisible flagged files)?

How do I show all hidden & invisible files on the command line (both .files and invisible flagged files)?

Is there a way to show only the hidden and invisible files in a directory using the command line?
For instance ls -a | grep "^\." will show all the files hidden by a period as the first character, but what about files hidden with the invisible flag or listed in .hidden (mostly deprecated in practice, don't worry about that one so much.)?

No comments:

Post a Comment