$ man find Find all the files and directories in the current tree $ find Find files in a specific directory $ find ./demo Find a file by name (case sensitive) in the current directory $ find . -name index.html Find a file by name (not case sensitive) $ find . -iname index.html Find all files in a directory $ find -type f Find all directories $ find -type d Find all the .txt files $ find -type f -name '*.txt' Find directories that begin with Demo $ find -type d -name 'Demo*' Find files that are over 5MB in size $ find ~/joe -size +5M Find files before or after a creation time $ find . -cmin +2 Find all html files and copy them to the directory /joe $ find . -name '*.html' -exec cp '{}' ~/joe/ \;