An administrator wants to create a script that installs NewFonts.rpm on several desktop computers. The script should check if the RPM is already installed. Which of the following commands would determine if NewFonts.rpm is already installed?
A.
rpm -a NewFonts
B.
rpm –list NewFonts
C.
rpm –checksig NewFonts
D.
rpm -q NewFonts
Correct answer is D