0

How to list only files which begin with a period character? I want to know how this it possible with ls, grep and find.

dessert
  • 39,982

1 Answers1

3

To see only files whose name begins with '.' just use '.*' in all commands.

Examples:

ls .*
find . -name '.*'
grep xy .*
muclux
  • 5,154