Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sw_vers(1) [osx man page]

SW_VERS(1)						    BSD General Commands Manual 						SW_VERS(1)

sw_vers -- print Mac OS X operating system version information SYNOPSIS
sw_vers sw_vers -productName sw_vers -productVersion sw_vers -buildVersion DESCRIPTION
sw_vers prints version information about the Mac OS X or Mac OS X Server operating system running on the local machine. When executed with no options sw_vers prints a short list of version properties: % sw_vers ProductName: Mac OS X ProductVersion: 10.3 BuildVersion: 7A100 The ProductName property provides the name of the operating system release (typically either "Mac OS X" or "Mac OS X Server"). The ProductVersion property defines the version of the operating system release (for example, "10.2.4" or "10.3"). The BuildVersion property provides the specific revision of the operating system as generated by the Mac OS X build system. OPTIONS
The output of sw_vers can be refined by the following options. -productName Print just the value of the ProductName property. -productVersion Print just the value of the ProductVersion property. -buildVersion Print just the value of the BuildVersion property. EXAMPLES
% sw_vers -productName Mac OS X % sw_vers -productVersion 10.3 % sw_vers -buildVersion 7A100 FILES
/System/Library/CoreServices/SystemVersion.plist /System/Library/CoreServices/ServerVersion.plist Mac OS X March 10, 2003 Mac OS X

Check Out this Related Man Page

PERLMACOS(1)						 Perl Programmers Reference Guide					      PERLMACOS(1)

README.macos - Perl under Mac OS (Classic) SYNOPSIS
This document briefly describes perl under Mac OS (Classic). If you are running perl under Mac OS X, you don't want to be here (unless you are in the Classic environment under Mac OS X). When we say "Mac OS" below, we mean Mac OS 7, 8, and 9, and not Mac OS X. DESCRIPTION
The latest perl source itself builds on Mac OS, with some additional pieces. Support for Mac OS is now in the perl core, and MacPerl is kept in close sync with regular perl releases. To build perl for Mac OS (as an MPW tool), you will need the addition of the macos subdirectory, distributed separately. It includes extra source files, config files, and make files. It also includes extra Mac-specific modules. To build the MacPerl application, you will also need the macperl directory, which includes the source files for creating the application itself. All of this is available from the development site, via HTTP (in the MacPerl Installer, which includes all the source and binaries) and anonymous CVS. The source is also in the main perl repository in the macperl branch (the 5.6 source is in the maint-5.6/macperl branch). You will also need compilers and libraries, all of them freely available. These are linked to from the SourceForge site. Go that site for all things having to do with MacPerl development. MacPerl 5.6.1 and later are supported on Mac OS 8.1 and later, for 68040 and PowerPC architectures. The MPW tool may be used on Mac OS 7.5.5 and 68030 computers. MacPerl 5.2.0r4 is also available, on the CPAN and on SourceForge. It is based on perl 5.004, and works with Mac OS 7.5.5 and 68030 com- puters. AUTHOR
perl was ported to Mac OS by Matthias Neeracher <>. It is currently maintained by Chris Nandor <>. DATE
Last modified 2002.05.02. perl v5.8.0 2003-02-18 PERLMACOS(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File Permissions in Mac OS X

On my Mac OS X machine, I would like to edit the httpd.conf Apache configuration file. When I open the file up in TextEdit or even VI, I get an error that there was an error saving the file. I tried "su root" and that still does not work. I heard that the "chown" command can change the file... (11 Replies)
Discussion started by: liveapple2000
11 Replies

2. UNIX for Dummies Questions & Answers

Mac OS X

Have a customer with an OSX server. Server freezes without any warning 2-3-4 times a day. Log excerpt says: -- Mar 19 10:44:38 localhost mach_kernel: ether_ifattach called for en Mar 19 10:44:38 localhost mach_kernel: ipfw_load Mar 19 10:44:38 localhost mach_kernel: IP packet filtering... (13 Replies)
Discussion started by: John Philip
13 Replies

3. UNIX Desktop Questions & Answers

Mac Osx.2

I finally broke down and decided to buy a new piece of hardware. I think I made the right decision when I chose an Apple iBook - OSX is incredible! I haven't used a Mac since System7.5, and 10.2 is just blowing me away! Best of all, it's easy to use for people who are not used to Mac, but if I... (5 Replies)
Discussion started by: LivinFree
5 Replies

4. OS X (Apple)

Mac OS X in laptop

Does it worth, to buy a laptop with Mac OS X? Thank you in advance! (4 Replies)
Discussion started by: SolidSnake
4 Replies

5. Programming

exe info

Hi Is it possible to find all the information like its 'ProductName', 'ProductVersion, ''InternalName' , 'FileVersion' etc about a windows excutable file,( i.e. *.exe file ) on Unix/Linux. thanks sumsin (6 Replies)
Discussion started by: sumsin
6 Replies

6. OS X (Apple)

Development tools like VS,ASP.Net

Hi I want to shift to Mac OS X , I wanted to know whether there are any similar development tools like VS,,.net frameworks are available in Mac OS X or not? I mean how does one can compete with windows with the same results those of microsoft? Are there any extra software availble or where... (7 Replies)
Discussion started by: MULTIVERSE
7 Replies

7. OS X (Apple)

Mac OS XI?!

Mac OS X is an excellent operating system, but is there a possibility of a Mac OS XI?! (Why do I always have this ?! when I talk about Mac OS ?!) :confused: (13 Replies)
Discussion started by: Danny_10
13 Replies

8. UNIX for Dummies Questions & Answers

Looking to install Unix on my Mac

I know how to install Unix or Linux on my Mac using bootcamp, I installed the Ubuntu distribution of Linux on my Mac. Basically I'm looking for advice on what OS I should learn with. I am fiercely interested in programming, and am learning C++ and Python at the moment. Anyways, everyone has... (5 Replies)
Discussion started by: Micolejr2
5 Replies

9. Fedora

Unix-based operating systems

Hello. I own a MacBook (black) running Leopard (Mac OS X 10.5.8), and I'm curious about a few things -- any help will be very, very much appreciated. I'm pretty much a newbie to Unix, although I have some very basic command-line skills with Mac OS X's Terminal. So while I know how to work the... (13 Replies)
Discussion started by: Tron55555
13 Replies

10. Programming

Building an operating system for senior project?

Hey guys! this is my first post on this site. I was hoping you guys could help me out. I am going to be a senior this year and I want to build an operating system from scratch or at least do as much of as I can by myself. I want to build nothing big like ubuntu but something smaller looking that... (10 Replies)
Discussion started by: Hoonathan
10 Replies

11. UNIX for Dummies Questions & Answers

gmake on Mac

I am using my teminal on Mac to run some files with gmake, (I used unix before,but now I am trying to run it frm my mac) and I get the error message: -bash: gmake: command not found Any idea what the problem might be? Thanks! (10 Replies)
Discussion started by: cosmologist
10 Replies

12. UNIX for Dummies Questions & Answers

chmod ug-s /System/Library/CoreServices/RemoteManagement/ NOT PERMITTED

After much reflecting I decided that I don't want to have a remote managemente in my computer and I digited in Terminal from the Administrator Account: chmod ug-s /System/Library/CoreServices/RemoteManagement/ But the answer is: NOT PERMITTED Why? Is it not... (6 Replies)
Discussion started by: Vera
6 Replies

13. Shell Programming and Scripting

My code worked on a Mac, now it does not work in another computer

I guess Mac has default bash. Then I copy my code to another comp and run it...And it gives me an error like "bad substitution".... How I can change my code??? Never had before this kind of situation. Help please. if then n=$(sort /Users/Natalie/lastserial | tail -1) ... (6 Replies)
Discussion started by: Natalie
6 Replies

14. Shell Programming and Scripting

The Terminal on Mac OS X

(8 Replies)
Discussion started by: 1negroup
8 Replies

15. OS X (Apple)

The Terminal on Mac OS X

(8 Replies)
Discussion started by: 1negroup
8 Replies

Featured Tech Videos