Which RPM command will output the name of the package which installed the file /etc/exports?

Which RPM command will output the name of the package which installed the file /etc/exports?

Which RPM command will output the name of the package which installed the file /etc/exports?

A.
rpm -F /etc/exports

B.
rpm -qf /etc/exports

C.
rpm -Kl /etc/exports

D.
rpm -qp /etc/exports

E.
rpm -ql /etc/exports

Explanation:
Use the -q, –query option in combination with -f to get the package that contains a specified file.
dpkg -S /etc/exports would do the same on debian systems.



Leave a Reply 0

Your email address will not be published. Required fields are marked *