Find - Find Syntax

Find Syntax

find path...

The three options control how the find command should treat symbolic links. The default behaviour is never to follow symbolic links. This can be explicitly specified using the -P flag. The -L flag will cause the find command to follow symbolic links. The -H flag will only follow symbolic links while processing the command line arguments. These flags are not available with some older versions of find.

At least one path must precede the expression. find is capable of interpreting wildcards internally and commands must be constructed carefully in order to control shell globbing.

Expression elements are whitespace-separated and evaluated from left to right. They can contain logical elements such as AND (-a) and OR (-o) as well as more complex predicates.

The GNU find has a large number of additional features not specified by POSIX.

Read more about this topic:  Find

Famous quotes containing the word find:

    Knowledge is more important than life, captain. We’ve only one excuse for existing, to think, to find out, to learn.
    Charles Lederer (1910–1976)