dmidecode
system managementLinux/Unix
The dmidecode command is one of the most frequently used commands in Linux/Unix-like operating systems. dmidecode Display hardware information from the BIOS/UEFI DMI tables
Quick Reference
Command Name:
dmidecode
Category:
system management
Platform:
Linux/Unix
Basic Usage:
dmidecode [options] [arguments]
Common Use Cases
Syntax
dmidecode [options]
Options
Option | Description |
---|---|
-d, --dev-mem FILE |
Read memory from device FILE (default: /dev/mem) |
-h, --help |
Display help information and exit |
-s, --string KEYWORD |
Only display the value of the specified DMI string |
-t, --type TYPE |
Only display entries of given type |
-u, --dump |
Do not decode the entries |
--dump-bin FILE |
Dump the DMI data to a binary file |
--from-dump FILE |
Read the DMI data from a binary file |
-V, --version |
Display the version and exit |
Examples
How to Use These Examples
The examples below show common ways to use the dmidecode
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
dmidecode