Open In App

lsusb command in Linux with Examples

Improve
Improve
Like Article
Like
Save
Share
Report

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


Last Updated : 23 Apr, 2019
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads