dmidecode is a tool for dumping a computer DMI (some say SMBIOS) table contents in a human-readable format.
This table contains a description of the system hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision.
The DMI table does not only describe what the system is currently made of, it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).
SMBIOS stands for System Management BIOS, while DMI stands for Desktop Management Interface. Both standards are tightly related and developed by the DMTF (Desktop Management Task Force).
sudo apt install dmidecode sudo dmidecode –type bios [About BIOS Details] sudo dmidecode –type system [About System Information] sudo dmidecode –type baseboard [About NIC & Storage Card] sudo dmidecode –type chassis [About Chassis Information] sudo dmidecode –type processor [About Processor Information] sudo dmidecode –type memory [About Memory Information] sudo dmidecode –type cache [About Cache Information] sudo dmidecode –type connector [About USB Information] sudo dmidecode –type slot [About Slot Information]
If the serial number tag is set in the DMI table, it can be extracted using the following command:
sudo dmidecode -s system-serial-number