Hardware/Asus: Difference between revisions

imported>Samueldr
Inits page with note about finding the model number for laptops.
 
DHCP (talk | contribs)
m Model number: replace sudo with # and use syntaxhighlight "console" for the provided command
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
It is unconfirmed, but highly likely that this command will give the actual Model Number, mapping to a specific sold model.
It is unconfirmed, but highly likely that this command will give the actual Model Number, mapping to a specific sold model.


<syntaxhighlight>
<syntaxhighlight lang=console>
sudo nix-shell -p dmidecode --run "dmidecode -t 11" | grep 'String 4' | sed -e 's/\s//g' | cut -d':' -f2
# nix-shell -p dmidecode --run "dmidecode -t 11" | grep 'String 4' | sed -e 's/\s//g' | cut -d':' -f2
</syntaxhighlight>
</syntaxhighlight>


This command looks at ''String 4'' under the ''OEM Strings'' section.
This command looks at ''String 4'' under the ''OEM Strings'' section.
== Subpages ==
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}