Using the find Command

When you need to find a file on your Unix system, you will need to know exactly where it is located (and navigate to it directly), or you may have to run a search on it because you aren't entirely sure what you are looking for. In either case, to locate a file on your system, you will need to know something about the file.

To find a file by its name, you will need to know a portion of the name. The more of the name you give, the quicker the search will be because that will narrow down the results. You can use wildcards to specify unknown characters. This same functionality can be seen in just about any other operating system, especially in Microsoft Windows. You can specify more than one file with a path by using wildcards. ...

Get SAMS Teach Yourself Unix in 10 Minutes now with O’Reilly online learning.

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