Add to Favourites Add to Favourites    Print this Article Print this Article

Find all files of a certain type

If you're trying to find all files with a specific extension, you can use the "find" command to do this quickly and efficiently.
For example, to find all .php files under the /home directory, type:

cd /home
find . -name "*.php"

Was this answer helpful?

Also Read