How can I find a specific file in a directory tree?

Solution 1:

find . -name '*.[ch]' -type f 

*.[ch] represents all *.h and *.c files, -type f finds regular files.

P.S. You might want to accept answers for your other questions :)

Solution 2:

If you are at the top of the directory tree.

find . -name *.c -print

would find all the .c files located below the current "." directory.

Lot's more help can be find by searching "unix find command".