Steps to find the serial number of Lenovo laptop/desktop from Linux CLI

  1. Open the terminal application
  2. Type the following command as sudo user
  3. dmidecode -s system-serial-number

Let us see dmidecode in details with all other options.


dmidecode command syntax

The syntax is:


sudo dmidecode
sudo dmidecode -s string

Linux command to find the serial number of Lenovo laptop

$ sudo dmidecode -s system-serial-number


How to list bios version and date

$ sudo dmidecode -s bios-release-date
$ sudo dmidecode -s bios-version


How to list Laptop model name and make

$ sudo dmidecode -s system-version
$ sudo dmidecode -s system-product-name
$ sudo dmidecode -s system-product-name chassis-type


Grouping information

You can only display the entries of given type. The syntax is


sudo dmidecode -t TYPE

Let us see some common types.


Get all info about BIOS such as vendor, version, release date and more

$ sudo dmidecode -t BIOS


List all info about systems 

$ sudo dmidecode -t SYSTEM


List all info about motherboards 

$ sudo dmidecode -t BASEBOARD

List all info about processor/CPU

$ sudo dmidecode -t Processor


That's it!!
Was this answer helpful? 0 Users Found This Useful (1 Votes)