There isn't a simple answer of this. It depends on the modules that you have. For instance, some module companies, overriding the core files. Therefore, you should first check what files available in the
app/code/community/Mage folders. As you might know, first folder is a module initialization folder which you can disable or enable the modules related by xml files. Last two folders ( if it's available ) are core code overriding folders.
Then, open one of the xml file that available
etc/modules directory. You will see something like below :
Here is the important parts are
Namespace. When you visit the
app/code/community folders, you will see a folder named
Company and following by a sub folder named
When you lookup the
Namespace you will see a sub-folder named
/etc. This folder keeping module related config file
config.xml. This file has module related config lines that you can refer what files related this module.
As I said in my first line, it's hard to manage.