9.7 Practice Questions – Flashcards
Unlock all answers in this set
Unlock answersquestion
You're using a Linux distribution that uses RPM for package management. Which command would you use to install httpd, the Apache HTTP Server package, and all its dependencies?
answer
yum install httpd
question
You're using a Linux distribution that uses RPM for package management. Which command would you use to check to see if the httpd package, the Apache HTTP Server package, is installed?
answer
yum list intalled httpd
question
You're using a Linux distribution that uses Debian Package Manager (dpkg) for package management. Which command would you use to install httpd, the Apache HTTP Server package, and all its dependencies?
answer
apt-get install httpd
question
You're using a Linux distribution that uses RPM for package management. Which command would you use to display a list of all packages available for installation withing the Internet repositories configured on this system?
answer
yum list available
question
Which command would you use to display a simple list of all processes running on a Linux distribution that uses either RPM or dpkg for package management?
answer
ps -e