locate = find data files, programs, directories, & objects matching your search.
Since you usually receive quite a long list when running locate, you’ll probably want to do this:
locate <search term> | more -or- locate <search term> | less
locate searches a database called slocate.db on your hard drive which is updated every night. To manually update the database, login as root & then run:
Note that locate searches by name only. To search by any other attribute, use find. To search only for commands, use whereis.