Go to the first, previous, next, last section, table of contents.


Invoking find

find [file...] [expression]

find searches the directory tree rooted at each file name file by evaluating the expression on each file it finds in the tree.

find considers the first argument that begins with `-', `(', `)', `,', or `!' to be the beginning of the expression; any arguments before it are paths to search, and any arguments after it are the rest of the expression. If no paths are given, the current directory is used. If no expression is given, the expression `-print' is used.

find exits with status 0 if all files are processed successfully, greater than 0 if errors occur.

See section find Primary Index, for a summary of all of the tests, actions, and options that the expression can contain.

find also recognizes two options for administrative use:

--help
Print a summary of the command-line argument format and exit.
--version
Print the version number of find and exit.


Go to the first, previous, next, last section, table of contents.