Windows
Linux
System & Storage
System Info
Windows devmgmt.msc (Device Manager) equivalent in Linux
Lists hardware devices, their drivers, and status — the Linux equivalent of Device Manager.
Windows
→
devmgmt.msc (Device Manager)
Linux equivalents
sudo apt install pciutils usbutils lshw && lspci && lsusb
sudo dnf install pciutils usbutils lshw && lspci && lsusb
sudo pacman -S pciutils usbutils lshw && lspci && lsusb
Overview
What this command does
Lists hardware devices, their drivers, and status — the Linux equivalent of Device Manager.
Migration tip:
dmesg shows the kernel's hardware detection log — look here when a device isn't working. lspci shows PCI devices (GPU, NIC), lsusb shows USB devices.Practical tasks
Common use cases
View hardware devices and drivers
Lists hardware devices, their drivers, and status — the Linux equivalent of Device Manager.
lspci
List PCI devices (GPU, network card, sound)
lspci -v
Verbose device details including driver
lsusb
List all connected USB devices
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
lspci
lsusb
dmesg | grep -i 'error\|fail'
Walkthrough
Examples with explanations
# Windows: devmgmt.msc (GUI only)
lspci
00:02.0 VGA: Intel HD Graphics
01:00.0 Network: Realtek RTL8111
lsusb # list USB devices
# Check for hardware errors:
dmesg | grep -i 'error\|fail'
Reference
Common options and variations
| Command or option | Use |
|---|---|
lspci | List PCI devices (GPU, network card, sound) |
lspci -v | Verbose device details including driver |
lsusb | List all connected USB devices |
dmesg | grep -i error | Check kernel hardware error messages |
sudo lshw -short | Compact full hardware inventory |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command can differ by distro defaults or package manager.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | apt | sudo apt install pciutils usbutils lshw && lspci && lsusb |
Hardware listing tools may be split across packages. |
| Fedora | dnf | sudo dnf install pciutils usbutils lshw && lspci && lsusb |
Same command names after package install. |
| Arch | pacman | sudo pacman -S pciutils usbutils lshw && lspci && lsusb |
Minimal installs often need these packages added. |
Keep learning