Which of the following commands is used to provide information about installed packages on a system?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command that is used to provide information about installed packages on a system is dpkg. This command is specifically associated with Debian-based Linux distributions, such as Ubuntu. It allows users to manage the installation, removal, and querying of software packages. When executed with the appropriate flags, dpkg can display detailed information about the packages present on the system, including their version, dependencies, and a description of the package.

Other commands listed serve different purposes: lsmod is used to display the status of modules in the Linux kernel, which is related to hardware drivers rather than installed packages. lspci is a command that lists all PCI devices, helping users identify hardware components, while find is a utility for searching files and directories in the filesystem. Each of these commands has its own specific use case, but when it comes to querying installed software packages, dpkg is the correct choice.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy