find
Uses criteria to find files
find [directory-list] [expression]
The find utility selects files that are located in specified directory hierarchies and meet criteria specified in an expression.
Arguments
The directory-list specifies the directories that find is to search. When find searches a directory, it searches all subdirectories to all levels. When you do not specify a directory-list, find searches the working directory.
The expression contains criteria, as described in “Criteria,” following. The find utility tests each of the files in each of the directories in the directory-list to see whether it meets the criteria described by the expression. When you do not specify an expression, the expression defaults to -print.
A SPACE separating ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access