PDF Print E-mail

Using the Find command

find is one of the most useful commands in linux

General finding files

find /path -type f 

Performing an action on what is found

Format: find /search/path -exec command_to_be_run {} \;
Example: find /etc -exec grep -i "linuxhost" {} \;

find manpage