3

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.

Bruno9779
  • 1,384

1 Answers1

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.

  • 2
    And 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