LPI Exam Questions

What RPM command would show you detailed information for a package called openssh-3.6.i386.rpm?

What RPM command would show you detailed information for a package called openssh-3.6.i386.rpm?

A.
rpm –showinformation openssh-3.6.i386.rpm

B.
rpm –showdetails –package openssh-3.6.i386.rpm

C.
rpm –query –info –package openssh-3.6.i386.rpm

D.
rpm –verify openssh-3.6.i386.rpm

Explanation/Reference:
–verify only checks changes on the installed files
–showinformation is not a rpm option, as is –showdetails.

rpm -qpi <rpmfile> would display the same results.