Linux:Hardware Information

From My Notepad
Jump to: navigation, search

Determining the BIOS version

dmidecode -s bios-version

Script for information

#!/bin/bash
echo "bios-vendor: `dmidecode -s bios-vendor`"
echo "bios-version: `dmidecode -s bios-version`"
echo "bios-release-date: `dmidecode -s bios-release-date`"
echo "system-manufacturer: `dmidecode -s system-manufacturer`"
echo "system-product-name: `dmidecode -s system-product-name`"
echo "system-version: `dmidecode -s system-version`"
echo "system-serial-number: `dmidecode -s system-serial-number`"
echo "baseboard-manufacturer: `dmidecode -s baseboard-manufacturer`"
echo "baseboard-product-name: `dmidecode -s baseboard-product-name`"
echo "baseboard-version: `dmidecode -s baseboard-version`"
echo "baseboard-serial-number: `dmidecode -s baseboard-serial-number`"
echo "baseboard-asset-tag: `dmidecode -s baseboard-asset-tag`"
echo "chassis-manufacturer: `dmidecode -s chassis-manufacturer`"
echo "chassis-version: `dmidecode -s chassis-version`"
echo "chassis-serial-number: `dmidecode -s chassis-serial-number`"
echo "chassis-asset-tag: `dmidecode -s chassis-asset-tag`"
echo "processor-manufacturer: `dmidecode -s processor-manufacturer`"
echo "processor-version: `dmidecode -s processor-version`"