Forrest logo
back to the lspci tool

lspci:tldr:cdfcc

lspci: Show a brief list of devices.
$ lspci
try on your machine

The command "lspci" is used in Linux and Unix-based operating systems to list all the PCI (Peripheral Component Interconnect) devices connected to the system.

The term PCI refers to a hardware bus architecture that allows different hardware devices (such as network cards, graphics cards, sound cards, etc.) to be connected to the computer's motherboard. lspci stands for "list PCI" and provides detailed information about all the PCI devices recognized by the system.

When you run the lspci command, you will see a list of all the PCI devices along with their respective device IDs, vendor IDs, device names, and other related information, such as memory addresses and IRQ (Interrupt Request) mappings. This information can be helpful in identifying the hardware components installed on your system and checking if they are properly recognized by the operating system.

The lspci command typically requires root or superuser privileges to access and display the hardware information. By default, the output of the command is in a human-readable format, but additional options can be used to customize the output, filter specific device types, or present the result in a more machine-friendly format.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lspci tool