$ lspci
$ lspci -v
$ lspci -nnk
| -v | verbose — more detail per device (repeat for more) |
| -n | show numeric vendor/device IDs instead of names |
| -k | show the kernel driver and modules handling each device |
| -m | machine-readable output |
| -t | show devices as a bus tree |
| -s | select a device by [[[[domain:]bus:]slot][.func]] |
| -d | select devices by [vendor]:[device] ID |
| -x | dump the configuration space in hex |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.