LPIC-1 Exam 101 v5 (Linux Administrator) — Question 101

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

Answer options

Correct answer: E

Explanation

The correct command to list all installed packages in RPM package management is 'rpm --query --all'. The other options either reference yum, which is a different package manager, or use incorrect syntax for querying installed packages.