mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 16:49:35 +00:00
Update cheatsheets
This commit is contained in:
29
linux/lsusb
Normal file
29
linux/lsusb
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
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`
|
||||
|
||||
- List verbose information about USB devices:
|
||||
|
||||
`lsusb --verbose`
|
||||
|
||||
- List detailed information about a USB device:
|
||||
|
||||
`lsusb --verbose -s {{bus}}:{{device number}}`
|
||||
|
||||
- List devices with a specified vendor and product ID only:
|
||||
|
||||
`lsusb -d {{vendor}}:{{product}}`
|
||||
Reference in New Issue
Block a user