A lot of information about a personal computer is stored as part of the BIOS and can be retrieved using data structures defined in the SMBIOS specification. On Linux operating systems, this information can be easily viewed using the dmidecode utility. This allows one to look up information such as system manufacturer, model name, serial number, BIOS version, asset tag, etc. Here is some sample output of this command running on a Lenovo ThinkPad:
[08:36:21][~]
[pagey@thunk]$ sudo dmidecode --string system-version
ThinkPad SL410
[08:36:24][~]
[pagey@thunk]$ sudo dmidecode --string system-serial-number
LRX4278
[pagey@thunk]$ sudo dmidecode --string system-version
ThinkPad SL410
[08:36:24][~]
[pagey@thunk]$ sudo dmidecode --string system-serial-number
LRX4278
The dmidecode package includes some other handy utilities such as biosdecode, ownership, and vpddecode. No need to turn the laptop upside down just to look up the serial number or model number.
[~]
[pagey@thunk]$ sudo vpddecode
# vpddecode 2.9
BIOS Build ID: 6JET69WW
Box Serial Number: LRX4278
Motherboard Serial Number: 1ZNKE9A6206
Machine Type/Model: 28427PU
[pagey@thunk]$ sudo vpddecode
# vpddecode 2.9
BIOS Build ID: 6JET69WW
Box Serial Number: LRX4278
Motherboard Serial Number: 1ZNKE9A6206
Machine Type/Model: 28427PU