Check motherboard manufacturer, product name, version and serial number

dmidecode | grep -i 'Base Board Information' -A4 -B1
Very slick way to check your motherboard manufacturer, product name, version and serial number.

These Might Interest You

  • 0
    dmidecode -t system
    soediro · 2012-05-25 16:51:18 0
  • This dumps serial numbers of all the drives but HP warranty check does not say they are valid ... Show Sample Output

    hpacucli controller all show config detail | grep -A 7 Fail | egrep '(Failed|Last|Serial Number|physicaldrive)'
    operat0r · 2016-07-20 17:42:40 0
  • This returns the hardware serial number. Dell calls this the "Service Tag" and it can be used to retrieve warranty information or used for RMA / repairs. Show Sample Output

    dmidecode -s system-serial-number
    SEJeff · 2012-05-25 17:03:37 0
  • As of this writing, this requires a fairly recent version of util-linux, but is much simpler than the previous alternatives. Basically, lsblk gives a nice, human readable interface to all the blkid stuff. (Of course, I wouldn't recommend this if you're going to be parsing the output.) This command takes all the fun out of the previous nifty pipelines, but I felt I ought to at least mention it as an alternative since it is the most practical.

    lsblk -do name,model,serial
    hackerb9 · 2015-07-12 10:49:49 1

What Others Think

Returns null [root@sva2l3 ~]# dmidecode | grep -i 'Base Board Information' -A4 -B1 [root@sva2l3 ~]# Tried dmidecode | grep -i 'Base' and still got a null return. You can use dmidecode | grep -i 'Vendor' dmidecode | grep -i 'Manufacturer' dmidecode | grep -i 'Product'
RGombert · 244 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: