Which command can be used to determine which apache web server packages are installed?
A.
pkg list apache
B.
pkg list *apache*
C.
pkg list installed apache
D.
pkg listallapache
E.
pkg list all web installed
Explanation:
To display information about software packages, refer to the following examples. Nospecial privileges are required to display information about packages.
List the packages that are currently installed on your system:
$ pkg list -H entire
Determine whether a specific package is installed in the current image and whether an update is
available.
$ pkg list amp
pkg list: no packages matching ‘amp’ installed
B is correct not A
root@s11exam:~# pkg list *apache*
NAME (PUBLISHER) VERSION IFO
web/server/apache-22 2.2.29-0.175.2.6.0.2.0 i–
web/server/apache-22/module/apache-wsgi-26 3.3-0.175.2.6.0.3.0 i–
root@s11exam:~# pkg list apache
pkg list: No packages matching ‘apache’ installed