How To Find Out BIOS Version Using a Linux Command

Originally published at: Linux Find Out BIOS Version Using a Command Line Option

How do I find out BIOS version using a Linux command line option? How do I check the motherboard BIOS version using Linux command line option?


I can’t find out what the ‘^’ does in your script: for d in system-manufacturer system-product-name bios-release-date bios-version
_ do_
_ echo "${d**^**} : " $(sudo dmidecode -s $d)_
_ done_

I’ve tried it with and without caret, but there seems to be no difference, hence my curiosity.

Thank you.

It convert first character to uppercase. You need bash 4.x or above:

name="vivek gite"
echo "${name^}"
echo "${name^^}"


Thanks you very much

I know this is a “necroposting” but it only now was posted on blog and I wanted to add my “two cents”:
You can get this and a bunch of other useful info about your motherboard with just Linux kernel and a “cat” command like this:
Motherboard vendor:

cat /sys/class/dmi/id/board_vendor

Motherboard model name:

cat /sys/class/dmi/id/board_name

Motherboard revision:

cat /sys/class/dmi/id/board_version

BIOS vendor:

cat /sys/class/dmi/id/bios_vendor

BIOS version:

cat /sys/class/dmi/id/bios_version
1 Like

Ah, yes thank you for the feedback. I will update page.

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki