How to list only files which begin with a period character?
I want to know how this it possible with ls
, grep
and find
.
Asked
Active
Viewed 1.5k times
0
1 Answers
3
To see only files whose name begins with '.' just use '.*' in all commands.
Examples:
ls .*
find . -name '.*'
grep xy .*

muclux
- 5,154