Sunday, May 5, 2024
188
rated 0 times [  188] [ 0]  / answers: 1 / hits: 217555  / 2 Years ago, mon, august 8, 2022, 12:46:44

I have a notebook HP Pavilion dm4 running Ubuntu 12.04 and I'm trying to determine the model number (like HP Pavilion dm4-2015dx or HP Pavilion dm4-2033cl, etc).
There's no such information on notebook's body as suggested on HP's website on Option 1.



I tried to use lshw and dmidecode, but couldn't find. Maybe I should use an especific option but all the information I found is for Windows, nothing for linux.



There is a way to show this information on linux?






sudo dmidecode |grep Version



shows



Version: Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz






Here's the System Information part of sudo dmidecode | less



System Information
Manufacturer: Hewlett-Packard
Product Name: HP Pavilion dm4 Notebook PC
Version: 058A120000242B10000020100
Serial Number: 5CA1062FYJ
UUID: E4BD398B-4D9E-BC63-1A03-099330BF5443
Wake-up Type: Power Switch
SKU Number: XZ299UAR#ABA
Family: 103C_5335KV G=N L=CON B=HP S=PAV
:

More From » command-line

 Answers
3

To see your model number, open a Terminal with Ctrl + Alt + T and type:



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



or alternatively type:



sudo dmidecode | grep 'SKU Number' | head -1



to see your SKU Number.






If you want to see a more detailed view of your System information type:



sudo dmidecode | grep -A 9 "System Information"



or



sudo dmidecode | less



and use the    key to go to the section System Information.




enter image description here


[#32580] Tuesday, August 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mugustered

Total Points: 193
Total Questions: 123
Total Answers: 108

Location: Bermuda
Member since Wed, Mar 22, 2023
1 Year ago
mugustered questions
Sat, Nov 19, 22, 07:03, 1 Year ago
Sun, May 29, 22, 11:53, 2 Years ago
Fri, Dec 23, 22, 15:02, 1 Year ago
;