0

In CentOS, there is this command rpm -qc packagenameto 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 aptor dpkg ?

muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

0

I've used cat for finding config files. for example, lighttpd would look like this

cat /var/lib/dpkg/info/lighttpd.conffiles