I used a system information utility to take the model number of a system and also the motherboard

DMI System Manufacturer     LENOVO
DMI System Product          2306CTO
DMI System Version          ThinkPad X230
DMI Motherboard Product     2306CTO

Is there a way to get model number, in this case 2306CTO , in Linux?

Best Answer

using the dmidecode | grep -A3 '^System Information' command. You'll find all the information from the bios and hardware These are examples on three different machines this is an excerpt of the complete output

System Information
    Manufacturer: Dell Inc.
    Product Name: Precision M4700

System Information
    Product Name: MS-7368

System Information
    Manufacturer: HP
    Product Name: ProLiant ML330 G6