search for files in a directory hierarchy

Find is used to look files in a directory hierarchy. You can refer to its manpage here.


Look for all files on a server owned by user siegfried:

 find / -user siegfried

Find all files ending in php en remove them:

 find / *.php -exec rm '{}' \;
history | excerpt history