How do I list all devices in Linux?

Nam Lê

Member
How do I list all devices in Linux?
Answer
The best way to list anything in Linux is to remember the following ls commands:
  1. ls: List files in the file system.
  2. lsblk: List block devices (for example, the drives).
  3. lspci: List PCI devices.
  4. lsusb: List USB devices.
  5. lsdev: List all devices.
 

Tìm kiếm

Back
Top