I want to get the BIOS version from Linux without going directly to the BIOS.
I mean, is there a way to get the BIOS version from inside Linux?
I want to get the BIOS version from Linux without going directly to the BIOS.
I mean, is there a way to get the BIOS version from inside Linux?
It is as simple as reading the following file:
$ cat /sys/class/dmi/id/bios_version
1.1.3
Use dmidecode:
$ sudo dmidecode -s bios-version
1.1.3
Also, you might have to install this package, which is available in:
You can use lshw , hwinfo , inxi and hardinfo (DMI):
# lshw -class memory
# hwinfo --bios
$ inxi -M
$ hardinfo
The above command should work after installing them through your package manager.
Only the first answer proposed by @cuonglm allow you the get bios information without installing an additional package:
$ cat /sys/class/dmi/id/bios*
I was wandering in /sys folder then I went into /sys/firmware/dmi/tables then got two files DMI and smbios_entry_point. If you read DMI file then in my case first word was LENOVO and second word was BIOS version. I know this is not simple and straight answer but you can get more information regarding your pc from this file.
This is working for me:
sudo dmidecode | grep "BIOS Information" -A10 | grep -e "Version:" -e "Vendor:"