How to display notebook model number?

To see your model number, open a Terminal with Ctrl + Alt + T and type:

sudo dmidecode | grep Version | sed -n '2p'

or alternatively type:

sudo dmidecode | grep 'SKU Number' | head -1

to see your SKU Number.


If you want to see a more detailed view of your System information type:

sudo dmidecode | grep -A 9 "System Information"

or

sudo dmidecode | less

and use the    key to go to the section System Information.


enter image description here


I guess this command will help:

sudo dmidecode | grep 'SKU Number' | head -1

This will return your laptop's model name:

sudo dmidecode -s system-product-name

This will return your serial number:

sudo dmidecode -s system-serial-number

-s is a keyword argument. Run man dmidecode to find all the available options.


Use dmidecode

$ sudo dmidecode -t 1

#dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
       Manufacturer: Dell Inc.
       Product Name: Latitude E6410
       Version: 0001
       Serial Number: DZX46BS
       UUID: 4C4C4544-005A-5810-8034-C4C04F364253
       Wake-up Type: Power Switch
       SKU Number:  
       Family: Not Specified