Find files using name in current directory

$ find . -name tecmint.txt

Find files under home directory

$ find /home -name tecmint.txt

Find files using name and ignoring case

$ find /home -iname tecmint.txt

Find directories using name

$ find / -type d -name tecmint

Find php files using name

$ find . -type f -name tecmint.php

Find all php files in directory

$ find . -type f -name "\*.php"
Comments