if you have debian ( or maybe it works with a other distro also) you can find files using the " locate " command, just run for example : locate
my-medium.cnf and it will tell you the path of the file ( you have first let locate indexing your installation).