To check the BIOS settings on a Linux system from the command line, you can use the dmidecode
command.
dmidecode
is a utility that reads the System Management BIOS (SMBIOS) and prints information about the system's hardware and firmware to the console.
Here's an example of how to use dmidecode
to display the BIOS version and release date:
$ sudo dmidecode -s bios-version $ sudo dmidecode -s bios-release-date
You can also use dmidecode
to display a summary of all the BIOS settings:
$ sudo dmidecode -t bios
Note: You will need to have the necessary privileges to run the
sudo
command.
It's also important to note that the specific options and syntax for the dmidecode
command may vary depending on your Linux distribution and version. Consult the dmidecode
man page or documentation for your system for more information.
Keep in mind that the BIOS settings are usually intended for advanced users and should be modified with caution. Incorrectly modifying BIOS settings can cause serious problems, such as rendering the system unbootable. It's always a good idea to make a backup of your BIOS settings before making any changes.