{"id":92,"date":"2006-02-11T01:32:37","date_gmt":"2006-02-11T06:32:37","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2006\/02\/11\/finding-out-os-x-information-from-the-"},"modified":"2006-02-11T01:32:37","modified_gmt":"2006-02-11T06:32:37","slug":"finding-out-os-x-information-from-the-command-line","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2006\/02\/11\/finding-out-os-x-information-from-the-command-line\/","title":{"rendered":"Finding out OS X information from the command line"},"content":{"rendered":"<p><a name='a600'><\/a><\/p>\n<p>\n I was trying to find out information on what particular version of OS X<br \/>\n I was running from the command line.  Being a UNIX type person my first<br \/>\n reaction was to try <em>uname<\/em>\n <\/p>\n<p>\n <em><br \/>\n $ uname -a<br \/>\n Darwin hsph.bebear.net 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu\/xnu-517.12.7.obj~1\/RELEASE_PPC  Power Macintosh powerpc<br \/>\n <\/em>\n <\/p>\n<p>\n That gives me the version of Darwin running which I could check up against the<br \/>\n following <a href=\"http:\/\/www.opensource.apple.com\/darwinsource\/\">link<\/a><br \/>\n and guess my version of OS X however I was told a better way&#8230;\n <\/p>\n<p>\n Use a command called <b>sw_vers<\/b>.  Didn&#8217;t even know it existed!  But<br \/>\n just to show you how it works:\n <\/p>\n<p>\n <em><br \/>\n $ sw_vers<br \/>\n ProductName:&nbsp;&nbsp;&nbsp; Mac OS X<br \/>\n ProductVersion: 10.3.9<br \/>\n BuildVersion:&nbsp;&nbsp; 7W98<br \/>\n <\/em>\n <\/p>\n<p>\n I was also told of another command to get TONS of information from the<br \/>\n command line.  <b>system_profiler<\/b>\n <\/p>\n<p>\n <em><br \/>\n $ man system_profiler<br \/>\n &#8230;<br \/>\n system_profiler reports on the hardware and software configuration of the<br \/>\n system.  It can generate plain text reports or XML reports which can be<br \/>\n opened with SystemProfiler.app<br \/>\n <\/em>\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to find out information on what particular version of OS X I was running from the command line. Being a UNIX type person my first reaction was to try uname $ uname -a Darwin hsph.bebear.net 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu\/xnu-517.12.7.obj~1\/RELEASE_PPC Power Macintosh powerpc That gives [&hellip;]<\/p>\n","protected":false},"author":704,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/704"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}