TestOut Linux Pro Practice Test 2025 – All-in-One Guide to Master Your Certification!

Question: 1 / 400

How do you list all installed packages using the dpkg tool?

dpkg -i

dpkg -r

dpkg -l

To list all installed packages using the dpkg tool, the correct command is "dpkg -l". This option specifically invokes the listing function within dpkg, allowing users to see a summary of all currently installed packages on the system. When executed, the command displays a table that includes the package name, version, and a brief description, providing a comprehensive overview of the software currently available in the Linux environment.

The other options serve different purposes: the command "dpkg -i" is used for installing packages, "dpkg -r" is for removing installed packages, and "dpkg -s" queries the status of a specific package rather than listing all installed packages. Hence, "dpkg -l" is uniquely suited for the task of listing installed software, making it the correct choice.

Get further explanation with Examzify DeepDiveBeta

dpkg -s

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy