Showing posts with label dot. Show all posts
Showing posts with label dot. Show all posts

Tuesday, December 2, 2008

Find Dot Files

Sometimes I forget the name of a particular config file but know it's stored as a dot file in my home directory. The following one-liner will non-recursively display any regular file begining with a dot.

find . -maxdepth 1 -type f -name '.*'

Find does it again. ;-)