Geek Posted April 25, 2011 Posted April 25, 2011 <div class="KonaBody"><p>You can quickly retrieve any Macs serial number via the command line by using the following command string:</p> <p><code>system_profiler |grep "r (system)"</code></p> <p>The command results will look something like this:</p> <p><code>$ system_profiler |grep "r (system)" Serial Number (system): C24E1322XXXX</code></p> <p>If you just grep for “Serial Number” you’ll be presented with serial numbers to other hardware included in the Mac, which is why the “r (system)” qualifier is included. </p> <p>Once you have a serial number, you can do things like <a href="http://osxdaily.com/2011/02/15/check-apple-warranty/">check AppleCare warranty status</a> and repair history.</p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/dmfV5tCK5_D6uwL_6jrgYVu5RMs/0/da"><img src="http://feedads.g.doubleclick.net/~a/dmfV5tCK5_D6uwL_6jrgYVu5RMs/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/dmfV5tCK5_D6uwL_6jrgYVu5RMs/1/da"><img src="http://feedads.g.doubleclick.net/~a/dmfV5tCK5_D6uwL_6jrgYVu5RMs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=7rI6VqpKw48:tWCGiky4kh4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=7rI6VqpKw48:tWCGiky4kh4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=7rI6VqpKw48:tWCGiky4kh4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=7rI6VqpKw48:tWCGiky4kh4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=7rI6VqpKw48:tWCGiky4kh4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=7rI6VqpKw48:tWCGiky4kh4:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=7rI6VqpKw48:tWCGiky4kh4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/7rI6VqpKw48" height="1" width="1"/> View the full article
Recommended Posts