What command is used to query for a specific package with RPM? A. rpm -q B. rpm -a C. rpm -d D. rpm -1 E. None of the above

rpm -q
rpm -a
rpm -d
rpm -1 E. None of the above

The correct answer is A. rpm -q.

The rpm command is used to manage RPM packages. The -q option is used to query for a specific package. For example, to query for the package firefox, you would use the command:

rpm -q firefox

This would return information about the package, such as its name, version, and release.

The -a option is used to list all installed packages. The -d option is used to delete a package. The -1 option is used to display a single line of information about a package.

None of the other options are used to query for a specific package.

Exit mobile version