Getting Down with ...

by ...

Lesson 7: Locating file system resources with find

The find command allows users to filter search for files and directories by name, size, time accessed, and last modified. It is especially useful for developers, who often have to locate several files from a large pool.

Common Unix find Command Syntax and Examples

Exercises:

  1. Starting with the foods directory created in Lesson 4, type the following to locate the grains.txt file in the directory:
    $ find foods -name "grains.txt"