Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Serial number from the command line

Serial number from the command line
Thread Tools
bmedina
Mac Elite
Join Date: Jan 2000
Location: Seattle, WA, King
Status: Offline
Reply With Quote
Jul 1, 2003, 12:47 AM
 
I'm pretty sure it isn't possible to show the serial number of a computer from the command line in Jaguar. It used to be possible with the applesystemprofiler command in 10.1, but alas, that command is gone in Jaguar. Does anyone know of a way to do this?
     
Don Pickett
Professional Poster
Join Date: Mar 2000
Location: New York, NY, USA
Status: Offline
Reply With Quote
Jul 1, 2003, 01:38 AM
 
Originally posted by bmedina:
I'm pretty sure it isn't possible to show the serial number of a computer from the command line in Jaguar. It used to be possible with the applesystemprofiler command in 10.1, but alas, that command is gone in Jaguar. Does anyone know of a way to do this?
Apple Menu/About This Mac. Click twice on the version number.
     
Camelot
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Jul 1, 2003, 03:15 AM
 
Originally posted by bmedina:
[snip]It used to be possible with the applesystemprofiler command in 10.1, but alas, that command is gone in Jaguar.
Not in my Jaguar, it isn't.

Mind you, you have to run 'AppleSystemProfiler' or '/usr/sbin/applesystemprofiler' and not just 'applesystemprofiler', but it is there.
Gods don't kill people - people with Gods kill people.
     
Arkham_c
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jul 1, 2003, 09:04 AM
 
Use system_profiler under Jaguar:

Code:
system_profiler | grep "Customer serial number"
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
WJMoore
Grizzled Veteran
Join Date: Jan 2002
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Jul 1, 2003, 09:18 AM
 
Originally posted by Arkham_c:
Use system_profiler under Jaguar:

Code:
system_profiler | grep "Customer serial number"
Hey that command is pretty cool, I have seen it before but keep forgetting things like it are in there.

WM
     
absmiths
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jul 1, 2003, 12:38 PM
 
Originally posted by Don Pickett:
Apple Menu/About This Mac. Click twice on the version number.
Did you even read the last two words in the topic?
     
absmiths
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jul 1, 2003, 12:43 PM
 
Originally posted by Arkham_c:
Use system_profiler under Jaguar:

Code:
system_profiler | grep "Customer serial number"
Odd, my G3 tower doesn't support that but my G4 laptop does. The G3 just shows Serial Number Not Available.
     
Arkham_c
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jul 1, 2003, 12:53 PM
 
Originally posted by absmiths:
Odd, my G3 tower doesn't support that but my G4 laptop does. The G3 just shows Serial Number Not Available.
In order to get the serial number, you have to have a Mac that uses the new architecture. That means iBook/B&W G3 or newer.

That applies to the non-CLI tools as well I believe.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
bmedina  (op)
Mac Elite
Join Date: Jan 2000
Location: Seattle, WA, King
Status: Offline
Reply With Quote
Jul 1, 2003, 01:54 PM
 
Sweet! Thanks for the help, guys!
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:26 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,