How to know the model of the computer from Ubuntu?

69,271

Solution 1

The easy way is to make a text file to search in between do -

sudo lshw | grep product >file
gedit file

Everything will be displayed clearly.The first line will your product name.

You can also view release date , product name, baseband manufacture by followings-

sudo dmidecode -s bios-release-date
sudo dmidecode -s baseboard-product-name
sudo dmidecode -s baseboard-manufacturer

hpe its all clear now.

Solution 2

Try the below command on terminal on get the exact model name,

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

Try this command to display your pc's model name with some information,

sudo dmidecode | less | grep Version

Try this for product name,

 sudo dmidecode | less | grep "Product Name"

Solution 3

This is a GUI Application to display some hardware and software information about the computer.

sudo apt-get install sysinfo

Solution 4

dmidecode is the favorite, you can get your needs using:

sudo dmidecode | grep Version

For example my output is:

Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
Share:
69,271

Related videos on Youtube

DryFire
Author by

DryFire

Updated on September 18, 2022

Comments

  • DryFire
    DryFire over 1 year

    I am unable to find my computer model name. I have Ubuntu 12.04. I tried HardInfo and System Monitor, but could not find it. I know this is a noob question, but any help is appreciated.

  • Yassine
    Yassine over 10 years
    or lshw via teminal
  • Avinash Raj
    Avinash Raj over 10 years
    lshw doesn't display pc model name.
  • DryFire
    DryFire over 10 years
    Since I wanted the Product name, the command that worked was sudo dmidecode | less | grep "Product Name" dmidecode worked.
  • Sukupa91
    Sukupa91 over 10 years
    It does not show product name..
  • Pablo Bianchi
    Pablo Bianchi about 7 years
    Also you can use -t, --type TYPE: Only display the entries of type TYPE: sudo dmidecode -t system.
  • kailor
    kailor almost 6 years
    Old but it worked. Thank you very much.
  • PhatHV
    PhatHV almost 4 years
    sudo dmidecode | less | grep "Product Name" save the world! Thanks.