QuestionQ102

Essential Commands

Which RPM command outputs the name of the package that supplied 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 -qi /etc/exports
Explanation

rpm -qf queries the installed RPM database for the package that owns a given file. Supplying /etc/exports returns the name of its owning package.

Community Discussion

No comments yet. Be the first to start the discussion!