The Wayback Machine - https://web.archive.org/web/20230320110245/https://www.geeksforgeeks.org/lsusb-command-in-linux-with-examples/
Skip to content
Related Articles
Open in App
Not now

Related Articles

lsusb command in Linux with Examples

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 23 Apr, 2019
Improve Article
Save Article

The lsusb command in Linux is used to display the information about USB buses and the devices connected to them. The properties displayed are speed, BUS, class, type details, etc.

Syntax:

lsusb [ options ]

Example:

Options:

  • -v : This option is used to display the output in verbose mode and also display detailed information about the devices connected.
    lsusb -v

  • -s : This option is used to display the only device specified by the bus and/or device number.

    Example:

    lsusb -s 2:4

  • -t : This option is used to dump the physical USB device hierarchy as a tree.

    Example:

    lsusb -t

  • -D : This option is used to display information about the specified device file. The device file should be like /dev/usb/002/004.

    Example:

    lsusb -D /dev/bus/usb/002/004

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!