LPI Exam Questions

How do you get a list of files that have been installed from a dpkg package?

How do you get a list of files that have been installed from a dpkg package?

A.
dpkg -l pkgname

B.
dpkg -C pkgname

C.
dpkg -s pkgname

D.
dpkg -S pkgname

E.
dpkg -L pkgname

Explanation/Reference:
-l prints the list of all packages matching pkgname
-C checks for broken packages
-s displays status information for a package
-S searches for a package matching pkgname