Você pode obter as informações da tabela DMI (Desktop Management Interface) do computador AKA SMBIOS (System Management BIOS), fazer o dump usando dmidecode
e obter o valor do tipo 0 (BIOS):
sudo dmidecode -t 0
sudo dmidecode -t 0 | grep 'Version:'
sudo dmidecode -t bios
sudo dmidecode -t bios | grep 'Version:'
Verifique man dmidecode
.
Exemplo:
% sudo dmidecode -t 0
# dmidecode 2.12
# SMBIOS entry point at 0x000f04c0
SMBIOS 2.7 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: F14
Release Date: 09/19/2014
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 8192 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 4.6
% sudo dmidecode -t 0 | grep 'Version:'
Version: F14