How to Check Your BIOS Version on Linux

Find out how to check your BIOS version on Linux and ensure your system is running at its best. It is easier than you think with our guide.

The BIOS (Basic Input/Output System) is a program that runs on a computer’s motherboard and controls various hardware functions. If you’re using Linux, you may need to know how to check your BIOS version occasionally.

Why? Because it is important to keep your BIOS up to date for stability, security, and compatibility reasons. In this article, we’ll show you how to check your BIOS version on Linux using a single command.

So, whether you’re a Linux beginner or a seasoned user, this guide will help you quickly get the firmware version information you need and detailed information about your BIOS.

How to Check the BIOS Version Details on Linux

Updating the BIOS version usually always starts with checking the current one we use. And to do that, we rebooted our computer to get into the BIOS and get that information from there.

While this approach works, we would all agree that we wouldn’t call it particularly “technical.” Moreover, using Linux, we can get information about the BIOS used on our system in seconds without interrupting our work. Here’s how to do it.

Because the BIOS version is exposed via the System Management BIOS (SMBIOS) tables, we can access it on Linux using the dmidecode command. Furthermore, because access to this information requires root privileges, the command must always be prefixed with sudo. Otherwise, we will receive an error message like the one below.

dmidecode error.

However, if the dmidecode command is not installed on your Linux system, or if you want to get an in-depth understanding of how to use it, we strongly recommend you read our dedicated guide.

To check the BIOS version currently in use on your Linux system, run the following command:

sudo dmidecode -s bios-version
Check the BIOS Version on Linux.
Check the BIOS Version on Linux.

That’s it. As we can see from the example above, the BIOS version we are using is 3002.

In addition, if you want to get more detailed information about the BIOS, we can preview all available information by running the following:

sudo dmidecode --type bios
Retrieve all BIOS information on Linux.
Retrieve all BIOS information on Linux.

Finally, to wrap up, we’ll add something helpful when you’re updating your BIOS. Even if you already know the manufacturer and model of the motherboard for which you want to update the BIOS, the two commands below will provide that information.

This way, you can avoid errors while downloading the correct BIOS version for your motherboard.

sudo dmidecode -s baseboard-manufacturer
sudo dmidecode -s baseboard-product-name
Retrieve information about the motherboard model and manufacturer on Linux.
Retrieve information about the motherboard model and manufacturer on Linux.


Checking the BIOS version on Linux is a simple process using the dmidecode command. However, it is essential to regularly update the BIOS to prevent security vulnerabilities, improve system performance, and ensure that the hardware is up to date and functioning optimally.

We hope we have been of help to you. You can find more information regarding dmidecode on the project’s website or check the command’s man page.

Please feel free to leave your comments, suggestions, and additions in the section below.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%