macfidelity

|

rethinking the think-different thing

Checking OS-X version in commandline / terminal

March 5th, 2007 at 23:09

A “howto check OS-X Version in a commandline” post with less then 100 words :P

  1. Open Terminal.app
  2. Enter: “sw_vers” and hint Enter

The output should look like this:

Welcome to Darwin!
fidel@MacPro~: sw_vers
ProductName: Mac OS X
ProductVersion: 10.5.5
BuildVersion: 9F33
fidel@MacPro~:

Thats is :D

Tags: , , , , ,

4 Responses to “Checking OS-X version in commandline / terminal”

  1. tc Says:

    Troubleshooting Tip:

    Checking version of a non-booting/problem system from commandline. sw_vers works great for information on the system that you are currently booted to. However, say you are troubleshooting a troublesome mac and that it’s not booting on its own but is connected via target disk mode and you need to know what it’s running. From the manpage for sw_vers, this command just parses /System/Library/CoreServices/SystemVersion.plist. So, if you need info on a system that you are trying to repair…

    e.g. Problem HDD is named “Foobar” –>

    # cat /Volumes/Foobar/System/Library/CoreServices/SystemVersion.plist

    example output:

    ProductBuildVersion
    9F33
    ProductCopyright
    1983-2008 Apple Inc.
    ProductName
    Mac OS X
    ProductUserVisibleVersion
    10.5.5
    ProductVersion
    10.5.5

    Sure, this is just a slight deviation from the real command sw_vers, but it can be very helpful to obtain info on a non-booting system.

    ReplyReply
  2. fidel Says:

    Hi,

    thanks for adding this addition to the initial post. Always great to see that others contribute.

    Best regards
    fidel

    ReplyReply
  3. PM Says:

    Wer zu dumm ist, zu entscheiden, ob er ein Programm braucht oder ob es den Zweck optimal erfüllt ist selbst schuld. Ich habe durch Bundles und Sparangebote schon sehr brauchbare Software erstanden und kann mich als User in keinster Weise als “abgezockt” bezeichnen.

    Als Developer muss man es sich gut überlegen aber für gewöhnlich kaufen User auch eher von Devs, denen sie vertrauen. Zum Beispiel, weil sie bei MacHeist gute Erfahrungen mit ihnen gemacht haben. Ich habe schon oft mehrere Programme von einem Hersteller gekauft (z.B. iShowU und Stomp). Niemand muss bei MacHeist mitmachen, weder Hersteller noch User. Was soll also diese Diskussion?

    Im übrigen gilt wie auch beim Thema Piraterie, niemand würde sich all die Software kaufen, wenn sie nur zum normalen Preis erhältlich wäre. Eine Verlustberechnung aufzustellen ($50 000 pro Grundschüler/Jahr) ist absoluter Mist.

    ReplyReply
  4. fidel Says:

    @PM:

    kann es sein dass du im falschen Beitrag gelandet bist … thematisch passt
    >>MacHeist & Co
    irgendwie nicht zu
    >> Checking OS-X version in commandline / terminal

    abgesehen davon hat keiner behauptet dass jmd dazu gezwungen wird oder nicht – sprich … reg dich ab :)
    Wenn man ein Thema nicht mehr diskutieren darf sollte man sich begraben lassen in meinen Augen.

    In dem Sinne
    Gruss
    fidel

    ReplyReply

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>