College of Arts and Sciences

Department of Mathematics

Find - using the "find" command

To find all the files on the system that have the text 'audio' anywhere in the file structure, type:

locate audio

To find all the files on the systems whose file names end with "ogg", type:

locate *ogg

To find all the hidden "dotfiles" on a system, type:

locate /.

The following options may also be used with "find":

-depth (search the subdirectories before each directory)

-maxdepth levels (specify the maximum number of directory levels to descend into)

-version (output the version number and exit)

Department of Mathematics, PO Box 643113, Neill 103, Washington State University, Pullman WA 99164-3113 Phone: 509-335-3926 Fax: 509-335-1188 Contact Us