Find

Summary

Find Files Using Name in Current\/Root Directory

find . -name tecmint.txt
find / -name tecmint.txt

Find Only Files\/Directories Using Name

find / -type d -name Tecmint
find . -type f -name tecmint.php

Find Files Using Name and Ignoring Case

find / -iname tecmint.txt

Find all PHP/Hidden/Empty Files in Directory

find . -type f -name "*.php"
find . -type f -name ".*"
find . -type f -empty

Reference

http://www.tecmint.com/35-practical-examples-of-linux-find-command/

results matching ""

    No results matching ""