29

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.

47

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.

| improve this answer | |
  • 3
    Also you can use -t, --type TYPE: Only display the entries of type TYPE: sudo dmidecode -t system. – Pablo Bianchi Mar 23 '17 at 20:51
  • Old but it worked. Thank you very much. – kailor Jun 26 '18 at 9:22
11

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"
| improve this answer | |
  • 1
    Since I wanted the Product name, the command that worked was sudo dmidecode | less | grep "Product Name" dmidecode worked. – DryFire Dec 6 '13 at 8:05
  • It does not show product name.. – Sukupa91 Dec 6 '13 at 8:13
  • sudo dmidecode | less | grep "Product Name" save the world! Thanks. – PhatHV Jun 14 at 4:47
2

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

sudo apt-get install sysinfo
| improve this answer | |
  • or lshw via teminal – Yassine Dec 6 '13 at 7:54
  • lshw doesn't display pc model name. – Avinash Raj Dec 6 '13 at 7:56
0

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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.