To locate something by file name, use the locate comand instead. The locate command searches a database of information that contains the names and locations of all the files it knows about. Thus, it is much faster than the grep command, which searches the computer itself.
However, to make certain that the locate command actually knows what files are on the computer, each time a new program is installed, running the program that updates the database is a good idea. Su to root and type
updatedband the computer will think for a few moments as it searches all the files for their locations and stores those locations in its database.
Then, whenever it becomes necessary to locate a file, simply type
locate filenamewhere filename is a portion of the filename that should be located. Locate will print out a list of all of the places it located that combination of letters in a filename.