nerdexam
LPI

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…

Filesystem and Devices

Question

Which command displays information about connected USB devices?

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)
  • A
    6% (4)
  • B
    2% (1)
  • C
    77% (48)
  • D
    3% (2)
  • E
    11% (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

#USB#/proc filesystem#device information#bus devices

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice