101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 22


Which of the following commands lists all currently installed packages when using RPM package management?

Show Answer
Correct Answer: C

The command that lists all currently installed packages when using RPM package management is `rpm --query --all`. This command queries the RPM database and displays all installed packages, which corresponds to the `--query` or `-q` option combined with the `--all` or `-a` option.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: C
Oct 21, 2023

The command that lists all currently installed packages when using RPM package management is: C. `rpm -qa` You can use `rpm -qa` to query and list all installed packages on a system using RPM package management.