mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
615 B
Plaintext
30 lines
615 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# lsusb
|
|
|
|
> Display information about USB buses and devices connected to them.
|
|
> More information: <https://manned.org/lsusb>.
|
|
|
|
- List all the USB devices available:
|
|
|
|
`lsusb`
|
|
|
|
- List the USB hierarchy as a tree:
|
|
|
|
`lsusb {{[-t|--tree]}}`
|
|
|
|
- List verbose information about USB devices:
|
|
|
|
`sudo lsusb {{[-v|--verbose]}}`
|
|
|
|
- List detailed information about a USB device:
|
|
|
|
`sudo lsusb {{[-v|--verbose]}} -s {{bus}}:{{device number}}`
|
|
|
|
- List devices with a specified vendor and product ID only:
|
|
|
|
`lsusb -d {{vendor}}:{{product}}`
|