Is there a way of finding out what the make and model of computer is without simply going to the box or looking at the label on the computer if it had one?
For example if my computer was a HP Pavilion 17-f000 Notebook PC series and I wanted to find that out by using a CLI or GUI program.
From the command line:
sudo dmidecode -s system-product-name
or sudo dmidecode --string system-product-name
Alternatively
sudo dmidecode | grep -A3 '^System Information'
dmidecode
provides a description of the computer's hardware information.
The -s
--string
flag with the DMI string system-product-name
, only outputs the make and model of your computer.
| grep
pipes the output to grep and the -A3
flag for grep prints 3 lines after a match for System Information.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments