Forrest logo
back to the lsusb tool

lsusb:tldr:594ee

lsusb: List the USB hierarchy as a tree.
$ lsusb -t
try on your machine

The "lsusb -t" command is used to display the USB topology information in a tree-like format on Linux systems. Here's a breakdown of the command:

  • "lsusb" is a utility command used to display information about the USB buses and the devices connected to them.
  • The "-t" option is used to specify the "tree" format, which provides a hierarchical representation of the USB devices connected to the system.

When you run the "lsusb -t" command, you will see a tree-like diagram that shows the USB buses, hubs, and devices connected to them. Each USB device is represented as a leaf node in the tree, and you can see how they are connected to the USB root hubs or intermediate hubs by looking at the indentation and layout of the tree.

This command is often helpful for troubleshooting USB connectivity issues or identifying the USB devices connected to your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lsusb tool