Linux Foundation Certified System Administrator (LFCS) — Question 62

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

Answer options

Correct answer: B

Explanation

The correct command is 'rpm -qf /etc/exports', which queries the RPM database for the package that owns the specified file. The other options either perform different actions, such as verifying package integrity or querying package information without identifying ownership.