PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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