Java Motherboard Serial Number Linux

Posted onby
Active1 month ago

Is there a way to find what motherboard model I have?

☩ Walking in Light with Christ – Faith, Computing, Diary. Free Software GNU Linux, FreeBSD, Unix, Windows, Mac OS – Hacks, Goodies, Tips and Tricks and The True Meaning of life. Windows: command to show CPU info, PC Motherboard serial number and BIOS details. Java program to get System Motherboard Serial Number for Windows or Linux Machine.


If yes, how, please?

54.1k21 gold badges144 silver badges229 bronze badges
2,1628 gold badges22 silver badges23 bronze badges

6 Answers

There's also some great graphical tools that show you not just your motherboard info, but all info about your computer.

  1. Search for the hardinfo package in the Software Center or run sudo apt-get install hardinfo from the command line. The motherboard make and model can be found on the Devices >DMI page.

  2. CPU-G - Linux alternative to the popular Windows application CPU-Z. Originally created by ftsamis, it has since been picked up by Atareao Team

  3. lshw-gtk – Graphical frontend for lshw command

David Foerster
29.2k13 gold badges68 silver badges115 bronze badges
10.7k1 gold badge33 silver badges49 bronze badges

This will directly show you motherboard info:


You can also try:

5,1994 gold badges15 silver badges23 bronze badges

Non-root user variant

I would like to suggest a variant for the unprivileged users, since it's not always possible to execute commands as root (some users simply cannot and however it is always a good practice to avoid running commands as root when it's not needed) and there the user doesn't want to or can't install new programs:

that it is a short version, shell expanded, of cat /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_version and gives as a spartan output respectively vendor, name and version:

Inside the path /sys/devices/virtual/dmi/id/ it's possible to find some files with information about BIOS, board (motherboard), chassis... not all are readable by an unprivileged user due to a security or privacy concerns.

Privileged user variant

Of course, e.g, a sudo cat board_serial (that usually is readable only by root, -r--------) or a sudo cat board_* can easily overcame this limit...

...but, maybe, if privileges are available it's more convenient to use dmidecode as suggested in other answers as well.

Below is the version I prefer, due to the compactness of its output:

The previous command with -A3 will show only the first 3 lines and it is the short version for
sudo dmidecode grep -A4 '^Base Board Information'that should be better to use if in a script.

Example output:

(1) if it is protected for unprivileged users, then maybe it's better to avoid posting it :-)

Ps> The following works fine too sudo lshw grep -A5 'Mo' (again 'Mo' is the short for 'Motherboard'), but I find it a little lazier than dmidecode to answer with its output.


Motherboard Serial Number Mcp73vt-pm(sn) Documents

3,0151 gold badge19 silver badges33 bronze badges

You can also use lshw. It is usually run with sudo as that allows it to probe your devices and accurately report back information. Just run

and the first entries in the results will detail your system and the motherboard and the bios, like in the example below:

lshw will give you a lot of other information as well; if you want any particular data in future you can run, for example, sudo lshw -class video to find out about your graphics card. For a listing of the hardware classes lshw analyses, enter sudo lshw -short. For more information on the program, enter man lshw in the terminal or visit the Ubuntu manpages.

As Schweinsteiger has noted, dmidecode is also a useful tool for reporting on motherboard info.

53k14 gold badges149 silver badges250 bronze badges

I found the quickest & easiest way to determine the motherboard model on my computer is:

which, for the Gigabyte Z68MA-D2H-B3 in my computer, yields:

53k14 gold badges149 silver badges250 bronze badges

This worked for me:


Paul WPaul W

Not the answer you're looking for? Browse other questions tagged hardware or ask your own question.

Getting CPU information, RAM info and other various hardware specifics on Windows from the GUI interface is pretty trivial from Computer -> Properties
even more specifics could be obtained using third party Windows software such as CPU-Z

Motherboard Serial Number Utility

Perhaps there are plenty of many other ones to get and log info about hardware on PC or notebook system, but for Windwos sysadmins especially ones who are too much in love with command prompt way of behaving and ones who needs to automatizate server deployment processes with BATCH (.BAT) scripts getting quickly info about hardware on freshly installed remote host Win serverwith no any additional hardware info tools, you'll be happy to know there are command line tools you can use to get extra hardware informationon Windows PC / server:

The most popular tool available to present you with some basic hardware info is of course systeminfo

C:> systeminfo

Host Name: REMHOST
OS Name: Microsoft Windows Server 2012 R2 Standard
OS Version: 6.3.9600 N/A Build 9600
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Server
OS Build Type: Multiprocessor Free
Registered Owner: Registrar
Registered Organization: Registrar
Product ID: 00XXX-X0000-00000-XX235
Original Install Date: 17/02/2016, 11:38:39
System Boot Time: 18/02/2016, 14:16:48
System Manufacturer: VMware, Inc.
System Model: VMware Virtual Platform
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 45 Stepping 7 GenuineInt
el ~2600 Mhz
BIOS Version: Phoenix Technologies LTD 6.00, 11/06/2014
Windows Directory: C:Windows
System Directory: C:Windowssystem32
Boot Device: DeviceHarddiskVolume1
System Locale: de;German (Germany)
Input Locale: de;German (Germany)
Time Zone: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
Total Physical Memory: 4,095 MB
Available Physical Memory: 2,395 MB
Virtual Memory: Max Size: 10,239 MB
Virtual Memory: Available: 8,681 MB
Virtual Memory: In Use: 1,558 MB
Page File Location(s): C:pagefile.sys
Logon Server: DOM
Hotfix(s): 148 Hotfix(s) Installed.
[01]: KB2894852
[02]: KB2894856
[03]: KB2918614
[04]: KB2919355

Now though systeminfo's hardware details and installed Windows KBXXXXX OS Hotfix patches are getting lists the command does not provide you with info about system’s BIOS, thus to get this info you'll have to use also wmic (Windows Management Instrumentation Command).

Asus Motherboard Serial Number Location

So What Is WMIC?

WMIC extends WMI for operation from several command-line interfaces and through batch scripts. Before WMIC, you used WMI-based applications (such as SMS), the WMI Scripting API, or tools such as CIM Studio to manage WMI-enabled computers. Without a firm grasp on a programming language such as C++ or a scripting language such as VBScript and a basic understanding of the WMI namespace, do-it-yourself systems management with WMI was difficult. WMIC changes this situation by giving you a powerful, user-friendly interface to the WMI namespace.

WMIC is more intuitive than WMI, in large part because of aliases. Aliases take simple commands that you enter at the command line, then act upon the WMI namespace in a predefined way, such as constructing a complex WMI Query Language (WQL) command from a simple WMIC alias Get command. Thus, aliases act as friendly syntax intermediaries between you and the namespace. For example, when you run a simple WMIC command such as

Here is how to wmic to get PC Motherboard serial numbers, CPU and BIOS details:

C:> wmic bios get name,serialnumber,version

Above will print name if your BIOS, current version and it’s serial number if there is any.

Change Hp Motherboard Serial Number

If you need to get more info about the specific Motherboard installed on host:

C:> wmic csproduct get name,identifyingnumber,uuid

This command will show motherboard modification and it’s UUID

If you want to quickly get what is Windows running hardware CPU clock speed

C:> wmic cpu get name,CurrentClockSpeed,MaxClockSpeed

Also if you have turbo boost CPUs above command will help you find what’s the Max Clock Speed your system is capable of for the current hardware configuration.

If you do have dynamic clock speed running, then add this line, will refresh and monitor the Clock speed every 1 second.

Get Serial Number Linux

C:> wmic cpu get name,CurrentClockSpeed,MaxClockSpeed /every:1

Actually wmic is a great tool

More helpful Articles

Download PDF

Tags: bios, command line tools, command line utility, CPU, current version, host name, information, Logon Server, Max Clock Speed, name, running, second, system, System Directory, System Manufacturer, System Model, Time Zone, UUID, Windows, Windows Directory, Windows Management Instrumentation Command, WMIC