Web/database development and more...
« flush() bug in PHP 5.4How to check when Linux was installed »

How to find files recursively on Linux

10/06/12

How to find files recursively on Linux

  05:41:00 pm, by fplanque   , Categories: Linux stuff
Sometimes you need an emergency reminder about how to find all files of a certain name in a directory structure… like say: find all .htaccess files hidden in my web site. Well, here’s the magic command:

Code

find . -name ".htaccess"
Also if you want to look for all hidden files (all files starting with a dot), you’d go like this:

Code

find . -name ".*"
Tags: howto, shell

No feedback yet