Linux Find Out BIOS Version Using a Command Line Option


#1

Originally published at: https://www.cyberciti.biz/faq/check-bios-version-linux/

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?


#2

Hello,

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


#3

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

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

Screenshot%20from%202018-12-26%2000-26-13


#4

Thanks you very much