How to know the model of the computer from Ubuntu?
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
Related videos on Youtube
DryFire
Updated on September 18, 2022Comments
-
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 over 10 yearsor lshw via teminal
-
Avinash Raj over 10 yearslshw doesn't display pc model name.
-
DryFire over 10 yearsSince I wanted the Product name, the command that worked was sudo dmidecode | less | grep "Product Name" dmidecode worked.
-
Sukupa91 over 10 yearsIt does not show product name..
-
Pablo Bianchi about 7 yearsAlso you can use
-t, --type TYPE
: Only display the entries of type TYPE:sudo dmidecode -t system
. -
kailor almost 6 yearsOld but it worked. Thank you very much.
-
PhatHV almost 4 yearssudo dmidecode | less | grep "Product Name" save the world! Thanks.