A Linux administrator needs to identify the kernel driver currently in use by the server's network interface card (NIC) to ensure the correct module is loaded. Which of the following commands will list all PCI devices and show the kernel driver handling each one?
The correct command is lspci -k. The lspci command is used to display information about PCI buses and the devices connected to them. The -k option specifically shows the kernel drivers that are handling each device, as well as the kernel modules capable of handling it. The lsmod command lists all loaded kernel modules but does not map them to the specific devices they are managing. The lsusb command lists USB devices, not PCI devices. The lscpu command displays information about the CPU architecture, not device drivers.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the `-k` option in `lspci -k` do?
Open an interactive chat with Bash
What is the difference between `lspci` and `lsmod`?
Open an interactive chat with Bash
How does `lspci` differ from `lsusb`?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access