Skip to content

Listing devices - lsusb, lspci, lssci

Just like we would use the ls command to list files and directories, we can use similar tools that list information about devices.

Listing USB Devices

$ lsusb 

Listing PCI Devices

$ lspci 

Listing SCSI Devices

$ lsscsi 

Exercise

Try out each of these commands and see the output you receive.

Quiz Questions

Click the right arrow to view the answers

What command can be used to view usb devices? lsusb