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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
It is as simple as reading the following file:
$ cat /sys/class/dmi/id/bios_version 1.1.3
$ sudo dmidecode -s bios-version 1.1.3
Also, you might have to install this package, which is available in:
You can use
# 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
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.