• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Common Unix Shell Commands: ... > Searching for Files, Directories, an...

Searching for Files, Directories, and More

Unix traditionally has provided very useful tools for searching for files by name and by content, and Apple has expanded on these by making available an interface into the Sherlock databases from the command line. Unix's traditional tools don't work from a database as Sherlock does, so they run a little slower. But they aren't hampered by needing a database to run, or by being only as current in their results as the last database update.

Finding Files: locate, find

Sometimes you want to find some files, but you are not sure where they are. There are two tools available to search for files: locate and find. If you know some of the name of a file, you can use the locate utility to try to find it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint