Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


dmidecode

dmidecode (DMI table decoder): a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware.

Reference(s)

Table of contents


Install

# emerge -a sys-apps/dmidecode
# pacman -S dmidecode
# apt install dmidecode
# yum install dmidecode
# dnf install dmidecode

Use

$ sudo dmidecode -s
$ sudo dmidecode -s system-serial-number
$ sudo dmidecode -s system-manufacturer
$ sudo dmidecode -s system-product-name
$ sudo dmidecode -t

If this cheat sheet has been useful to you, then please consider leaving a star here.