=^.^=

Find all Hidden Files and Directories on Linux and UNIX-Like Systems (BSD, Solaris)

karma

To search for all "hidden" files and directories (those with filenames beginning with .) run:

find /dir/to/search/ -name ".*" -print find /dir/to/search/ -name ".*" -ls

Only files:
find /dir/to/search/ -type f -iname ".*" -ls

Only directories:
find /dir/to/search/ -type d -iname ".*" -ls

More...

Some other common filesystem search patterns are covered in:

Comments

There are no comments for this item.