Which of the following is a quick and easy way to do this?

The system administrator wants to create a list of all of the RPM packages installed on a server in alphabetical order. Which of the following is a quick and easy way to do this?

The system administrator wants to create a list of all of the RPM packages installed on a server in alphabetical order. Which of the following is a quick and easy way to do this?

A.
rpm -qa %-1,[A-Z]% > rpmlist.text

B.
rpmdb –dump rpmlist.text

C.
rpm -q –dump rpmlist.text

D.
rpm -q -a | sort > rpmlist.text



Leave a Reply 1

Your email address will not be published. Required fields are marked *


mr_tienvu

mr_tienvu

Correct answer is D