Linux Find Out BIOS Version Using a Command Line Option


Originally published at:

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