Identify PCI hardware with lspci
See every network card, GPU and controller on the PCI bus, with vendor IDs and kernel drivers.
01Command
$ lspci -nn02What it does
lspci walks the PCI bus and prints each device: Ethernet controllers, Wi-Fi cards, GPUs, NVMe controllers, USB hosts. The -nn flag adds vendor:device IDs like [8086:15f9], which is exactly what you paste into a search to find the right driver or kernel module. -v (up to -vv) reveals which kernel driver is bound, IRQs and LNKSTA link speed.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- lspci(8) - Ubuntu manpageEvidence: Same tool: -nn shows both textual and numeric IDs, -v verbose per-device details including the kernel driver in use.
- lspci(8) — Debian bookwormEvidence: SYNOPSIS lspci [options] documents -nn (numeric IDs plus names), -s [[domain]:]bus:device.function selection and verbose -v mode.
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
Launch an interactive process viewer with color meters for CPU cores, memory, and swap, plus search, sort, and kill controls.
Show total, used, and available space plus usage percentage for every mounted filesystem in human-readable units.
The classic forgotten-syntax command: `traceroute` shows every router between you and a destination plus the round-trip time of probes to each hop.