Description
Use any of the following commands to list USB devices on a Linux system. lsusb
is the most concise. The dmesg
commands are quite verbose, and so also usb-devices
. The last three commands, lsblk
, blkid
, and fdisk
are only relevant if you have a USB drive.
$ lsusb $ dmesg $ dmesg | less $ usb-devices $ lsblk $ sudo blkid $ sudo fdisk -l