📌  相关文章
📜  linux 列出 USB 设备和端口速度 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:38.053000             🧑  作者: Mango

代码示例1
# This will list USB devices along with usb port type (see bcdUSB field)
sudo lsusb -vvv |grep -i -B5 -A5 bcdUSB
# Alternatively, this gives a hierarchical view of the USB devices
sudo lsusb -t


# This is another way to look at the usb devices and get some more info
lsblk -o model,name,fstype,size,label,mountpoint

# References
# https://askubuntu.com/questions/162434/how-do-i-find-out-usb-speed-from-a-terminal
# https://askubuntu.com/a/604176/1197918
# https://askubuntu.com/a/973790/1197918