In Search of the Model Number

Well, this was pretty obvious!

I just wanted to know the model number for my inventory script. Anyways Obviously its in the file. Didn’ you know that??? Duh!

grep -i ‘series\|Appliance’    $CPDIR/registry/ or

dmidecode | fgrep -i product

and SOMETIMES it will print out the actual Model number. Otherwise you get a weird code:


and have to use the table:


Oh yeah, if you need the serial number.

dmidecode | egrep ‘Product|Serial Number’

Thanks to Snake Oil for the lead.

I sure hope the new provisioning tool can do this for me some day.

Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Helen's Loom

"Peculiar travel suggestions are dancing lessons from God." - Kurt Vonnegut

Life Stories from Dreez

These are stories from my travels. Generally I like to write stories about local people that I meet and also brag about living the retirement dream with my #1 wife Gaby. She is also my only wife.

%d bloggers like this: