lshw
List detailed information about hardware configurations as root user. See also:
inxi,hwinfo,dmidecode. More information: https://ezix.org/project/wiki/HardwareLiSter.
- Launch the X11 GUI (if available):
sudo lshw -X
- List all hardware in tabular format:
sudo lshw -short
- List multiple class of hardware (all disks and storage controllers) in tabular format:
sudo lshw disk storage -short
- Save all network interfaces to an HTML/XML/JSON file:
sudo lshw network - >interfaces
- List network interfaces without revealing sensitive information (IP addresses, serial numbers, etc.):
sudo lshw network -sanitize
- List a particular class of hardware:
sudo lshw
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
