Share this post with your friends
To check what configuration files are associated with a specific package that is already installed on your system using
rpm command, use the syntax as written below.
rpm -qc package_name
package_name is any package that is already installed on your system.
Example: Find the associated configuration files of Apache HTTP server
To check the configuration files that are associated with the package
httpd, the Apache HTTP server, run the following command.
rpm -qc httpd
Tested on: CentOS 7