Lenovo laptop information by serial number
How to find serial number of Lenovo laptop from LinuxAuthor: Vivek Gite Last updated: June 13, 2021 1 comment I need to list serial number of Lenovo laptop to check warranty. How do I find a serial number of Lenovo laptop from Linux command line without rebooting and opening BIOS option? How do I find find serial number of Lenovo ThinkPad laptop from the Linux CLI? You need to use the dmidecode command. It is a CLI tool for depositing a computers DMI (SMBIOS) table contents in a human-readable format. This table contains a description of the systems hardware components. It also includes useful pieces of information such as serial numbers and BIOS revision of your desktop/laptop. Please note that dmidecode command works on FreeBSD/OpenBSD and other Unix-like operating systems too.
ADVERTISEMENT Steps to find serial number of Lenovo laptop / desktop from Linux CLIThe procedure is as follows to find serial number of Thinkpad: Show
Let us see dmidecode command in details with all other options to find out Lenovo Thinkpad serial number from the Linux CLI. dmidecode command syntaxThe syntax is:
Here are some examples: Linux command to find serial number of Lenovo laptop$ sudo dmidecode -s system-serial-number How to list bios version and date$ sudo dmidecode -s bios-release-date How to list Laptop model name and make$ sudo dmidecode -s system-version for i in baseboard-manufacturer system-version system-product-name chassis-type system-serial-number bios-release-date bios-version
do
echo "$i : $(sudo dmidecode -s $i)"
done Grouping informationYou can only display the entries of given type. The syntax is Get all info about BIOS such as vendor, version, release data and more$ sudo dmidecode -t BIOS List all info about system such as serial number and more$ sudo dmidecode -t SYSTEM Patreon supporters only guides
List all info about motherboard such as serial number and more$ sudo dmidecode -t BASEBOARD # dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x000E, DMI type 2, 15 bytes
Base Board Information
Manufacturer: LENOVO
Product Name: 2325YX3
Version: Win8 Pro DPK TPG
Serial Number: 1ZSSSAIABCYY
Asset Tag: Not Available
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Available
Chassis Handle: 0x0000
Type: Motherboard
Contained Object Handles: 0
Handle 0x0029, DMI type 10, 6 bytes
On Board Device Information
Type: Other
Status: Enabled
Description: IBM Embedded Security hardware Want to list all info about processor/CPU?$ sudo dmidecode -t Processor A list of DMI TYPES
ConclusionYou learned about various commands that shows serial number of Lenovo laptop or desktop. For more info see the dmidecode project home page here. Get the latest tutorials on Linux, Open Source & DevOps via ADVERTISEMENTRSS feed Weekly email newsletter Related Tutorials
|