Which command is used to display information about the hardware devices installed on a Linux 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 display information about the hardware devices installed on a Linux system is "lspci." This command specifically lists all the PCI (Peripheral Component Interconnect) devices connected to the system, providing detailed information about graphics cards, network adapters, storage controllers, and other hardware components that interface through the PCI bus.

While "lsusb" is used for displaying USB devices and "lsblk" shows information about block devices like hard drives and partitions, neither of them provides the comprehensive overview of PCI devices that "lspci" does. "lsdev," although a command that could seem relevant, is not standard in many distributions and might not provide the level of detail about installed hardware devices that "lspci" does. Therefore, "lspci" is the most appropriate choice for obtaining a complete picture of the hardware installed in a Linux system.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy