I need to know what is the command that lists all the pheripheral devices connected to the computer, I already used this command but I really don't remember its name.
Asked
Active
Viewed 1.4k times
1 Answers
4
lsblk
will show all of the drives and mountpoints, including USB.
lspci
will show hardware, including peripherals.
dmesg
will show latest kernel messages, which includes peripheral connects/disconnects.
-
2And
lsusb
will list all USB devices,lspnp
all legacy PnP devices,lsscsi
all SCSI devices,lscpu
all CPUs, ... – dirkt Mar 29 '17 at 11:02
lshw
. – DopeGhoti Mar 28 '17 at 16:25