Skip to content

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


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.


Table of contents


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


$ 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.