201-450 · Question #184
Which command displays information about connected USB devices?
The correct answer is C. cat /proc/bus/usb/devices. On Linux systems, USB device information is stored at /proc/bus/usb/devices, making option C the correct path - it follows the kernel's procfs hierarchy where bus-related device info lives under /proc/bus/. The distractors are wrong because the paths simply don't exist in…
Question
Options
- Acat /proc/usbdevices
- Bcat /proc/usb/devices
- Ccat /proc/bus/usb/devices
- Dcat /proc/usbbus/devices
- Ecat /proc/hotplug/usb
How the community answered
(62 responses)- A6% (4)
- B2% (1)
- C77% (48)
- D3% (2)
- E11% (7)
Explanation
On Linux systems, USB device information is stored at /proc/bus/usb/devices, making option C the correct path - it follows the kernel's procfs hierarchy where bus-related device info lives under /proc/bus/.
The distractors are wrong because the paths simply don't exist in standard Linux kernels: /proc/usbdevices (A) and /proc/usbbus/devices (D) are entirely fabricated paths; /proc/usb/devices (B) omits the required bus/ segment; and /proc/hotplug/usb (E) relates to the older hotplug subsystem, not device enumeration.
Memory tip: Think of the hierarchy as bus → usb → devices - you're listing devices on the USB bus, so the path logically mirrors that: /proc/bus/usb/devices. On modern systems, lsusb is the preferred command, but the proc path follows the same bus-first logic.
Topics
Community Discussion
No community discussion yet for this question.