Linux Commands Helper
💬 Your AI-powered Linux assistant
lshw Command - List Hardware
The lshw command provides detailed information on the hardware configuration of the machine. It can report on memory, CPU, disks, network, and more.
Syntax
lshw [options]
Examples
sudo lshw
Show a full summary of hardware.
sudo lshw -short
Show a short summary of hardware.
sudo lshw -C network
Show only network hardware details.
Notes
- Requires root privileges for full output.
- Output can be formatted as HTML, XML, or JSON with options.
- Useful for troubleshooting hardware issues.