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.
1 Answer
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
lsusbwill list all USB devices,lspnpall legacy PnP devices,lsscsiall SCSI devices,lscpuall CPUs, ...dirkt– dirkt2017-03-29 11:02:56 +00:00Commented Mar 29, 2017 at 11:02
lshw.