The find Command

The find command enables you to perform a search through the entire system (or across the network to other systems) for a file that meets specific criteria. You can search for a file by its filename, I-node number, size, data, or any other piece of information you might have about that file. Use the find command to locate misplaced files. Maybe you’ve forgotten the name of the file or simply want a list of files created by a particular user on a particular date.

To begin using find, you need to understand the syntax for the command, which is as follows:

find <search-path> <search-criteria> actions
					

The following list explains each of the components for the preceding syntax:

  • <search-path> The directory (or file system) ...

Get Inside Solaris™ 9 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.