dmidecode for hardware info

Wed, 16 Apr 2025 14:36:52 GMT

Sometimes you need to discover the specs on the hardware you are running.
For example: cat /proc/cpuinfo will give you detailed info about your cpu
neofetch and fastfetch are quite popular for giving you other specs but
a more powerful command is dmidecode
the command must be run as root or with sudo it has several command line options as follows.

dmidecode -t to see info about your pc
keywords are
bios
system
baseboard
chassis
processor
memory
cache
connector
slot

for example
sudo dmidecode -t processor will show details about your cpu

dmidecode is included with most distributions
lsh is another useful tool but must be installed as an additional package