Ingrid is a Red Hat Linux system administrator. She is installing apache on her
Linux server. Which command should Ingrid execute to determine whether apache
is already installed?
A.
ps aus|grep apache
B.
lynx apache
C.
rpm -q apache
D.
rpm -i apache
Explanation:
Red Hat Packet Manager (RPM) commands are used on Red Hat
Linux. A query is issued to determine if apache is already there.
Incorrect Answers:
A: Running process status and a grep command (to search the active list) will notprovide the
information. If the apache server is running, then you caught it, but if theapache server is installed
and not running, you will miss it.
B: There is no lynx command.
D: Although we need to run a RPM command, the -I form of the command does notprovide the
information we need.