lshw
List detailed information about hardware configurations as root user. tldr-pages
On Linux
Linux
Launch the X11 GUI (if available)
sudo lshw -XIdentifyList all hardware in tabular format
sudo lshw -shortIdentifyList multiple class of hardware (all disks and storage controllers) in tabular format
sudo lshw -class disk -class storage -shortIdentifySave all network interfaces to an HTML/XML/JSON file
sudo lshw -class network -html >interfaces.htmlIdentifyList network interfaces without revealing sensitive information (IP addresses, serial numbers, etc.)
sudo lshw -class network -sanitizeIdentifyList a particular class of hardware
sudo lshw -class systemIdentify