In CentOS, there is this command rpm -qc packagename
to list all the configuration for a specific package.
[spiderman@MyFirstLinuxVM ~]$ rpm -qc sudo /etc/pam.d/sudo /etc/pam.d/sudo-i /etc/sudo-ldap.conf /etc/sudo.conf /etc/sudoers
Is there any similar command in Ubuntu using apt
or dpkg
?
I've used cat for finding config files. for example, lighttpd would look like this