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.

1
  • 1
    I think you're looking for lshw. Commented Mar 28, 2017 at 16:25

1 Answer 1

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.

1
  • 2
    And lsusb will list all USB devices, lspnp all legacy PnP devices, lsscsi all SCSI devices, lscpu all CPUs, ... Commented Mar 29, 2017 at 11:02

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.