How can get the BIOS version of my motherboard?
The command dmidecode
gives you some information about the BIOS, but I can't find what I need...
I tried dmidecode
command before asking and I didn't find what I needed - I want only the BIOS version and nothing else in the output.
I got the solution.
Using dmidecode (of course), but the problem was with the result...
I don't want to list block result about my bios I just need the version..
The command is:
The output will just print the version:
Try this command,
dmidecode
usually returns, amongst other things, a block with information about your BIOS. It should look something like this:The information here includes both version and BIOS revision. If
dmidecode
does not include that data on your machine, I'm afraid you will have to reboot and actually look at the BIOS.Another way to reduce the DMIDECODE output is to port it to Grep and extract just the lines you want -
E.G. - sudo dmidecode | grep 'Vendor\|Version: V\|BIOS Revision\|Processor'
Inside the grep, each "or" (The vertical bar) needs to be escaped with a backslash prefix, as illustrated above.
There will probably be a few extra sundry "Versions" after the Vendor one; you should be able to figure out what's what and ignore the rest. I haven't yet figured out to eliminate these... ;-)
Bonus! Above, the processor info has also been included.