commands

lsusb — Inspect USB devices

Lists USB devices and their identifiers; -t displays topology. Output depends on hardware and permissions. Inspect only an authorized lab. Use a fresh private workspace; No production workload is required.

Formal Syntax & Structure

linux syntaxlinux
lsusb [OPTIONS]

Parameters & Attributes

NameTypeDescription
-toptionDisplay USB topology

Return Value

exit status and output

Prints detected USB devices or topology, depending on options. A successful inventory is limited to visible devices; an absent device is not necessarily physically disconnected.

Working Example

Example Snippetlinux
lsusb
Linux Reference