The whereis command can be used to run a quick search on a specific number of directories for whatever you specify. For example, if you wanted to run a search on a file named “test”, then you would get all instances of “test” that came up within that preset number of directories, such as paths to source code, binaries, and man pages. The whereis command performs a quick search for the file you specify.
>whereis test test: /usr/bin/test /usr/share/man/man1/test.1.gz /usr/share/man/man1p/test.1p.gz
Although this may not be exactly what you are looking for, this command can be useful.