Forrest logo
tool overview
On this page you find all important commands for the CLI tool lspci. If the command you are looking for is missing please ask our AI.

lspci

lspci is a command line tool used in Linux and Unix-like operating systems to list details about the PCI buses and devices connected to them.

When executed, lspci queries the PCI configuration space to retrieve information about each device, including the vendor and device IDs, device class, and driver modules loaded.

The output of lspci includes a list of devices grouped by their respective PCI buses, with each device having an assigned address. This information can be useful for identifying connected devices, troubleshooting, and determining driver compatibility.

lspci supports various command line options, such as -v for more verbose output, -s to filter by specified bus, and -k to display the kernel modules handling each device.

By default, lspci does not require root privileges to execute, but administrator privileges may be necessary to access certain device-specific information.

Additionally, lspci can also be used in conjunction with other tools, like grep, to further filter and search for specific device information based on patterns or keywords.

Overall, lspci is a handy command line tool for discovering and obtaining detailed information about the PCI devices on your Linux system.

List of commands for lspci:

tool overview