1

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
    I think you're looking for lshw. – DopeGhoti Mar 28 '17 at 16:25
2

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.

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.