Also, you can read the documentation for the program you are running; usually there is a decent amount of info about the configuration files it uses and how it uses them. There is no one command to show you which config files a program uses because there is no one unified way that all programs use to deal with configuration data.
Some good resource are the man and info pages for the program, and the program's web site if it has one. But, unfortunately, like I said, there's no one way to do that -- it depends on the program and you usually have to do some reading to find out about it.
Jason
|