The which command returns the pathname of the program that you give it as an argument.

This is NOT always the same place that the rest of the configuration files for that program.