CompTIA Exam Questions

What command do you issue?

You want to preview where the package file, apachE.xml.i386.rpm, will install its files before installing it. What command do you issue?

A.
rpm-ql apachE.xml.i386.rpm

B.
rpm-qv apachE.xml.i386.rpm

C.
rpm-qpl apachE.xml.I386.rpm

D.
rpm-qp apachE.xml.i386.rpm

Explanation:
Syntax of rpm command

rpm [options] package -i Install -U Upgrade package if lower version is installed otherwise install the new package.
-F Upgrade package if only lower version is installed.
-l List all files belongs to package -p Package Name -q Query To preview the package files location store after installation, rpm -qpl package.