问题描述
如何获得主板的BIOS版本?
命令dmidecode
为您提供了有关BIOS的一些信息,但是我找不到所需的信息…
在询问之前我尝试了dmidecode
命令,但没有找到所需的东西-我只需要BIOS版本,而输出中没有其他内容。
最佳方案
我找到了解决方案。
(当然)使用dmidecode,但问题在于结果…
我不想列出有关个人简介的阻止结果,我只需要版本即可。
该命令是:
sudo dmidecode -s bios-version
输出将仅打印版本:
SIX7910J.86A.0537.2012.0723.1217
次佳方案
试试这个命令
sudo dmidecode | less
第三种方案
除其他外,dmidecode
通常返回包含有关BIOS信息的块。它看起来应该像这样:
BIOS Information
Vendor: American Megatrends Inc.
Version: 0309
Release Date: 04/18/2013
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 8192 kB
Characteristics:
PCI is supported
APM 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
此处的信息包括版本和BIOS修订版。如果dmidecode
没有在您的计算机上包含该数据,恐怕您将不得不重新启动并查看BIOS。