version man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

version(1)							    version(1)

NAME
       version - display version identification of object file or binary

SYNOPSIS
       version	 filename [filename filename  ... ]
       version -p  command [ command command  ... ]

DESCRIPTION
       The version command displays the version of the named file(s).

USAGE
       Type: version filename
       Or: version -p  command

       filename	 (or  a	 list  of  file names) is either a full path to a file
       starting	 with  /,  or  a  relative  path  starting  from  the  current
       directory.

       Alternatively,  use  the	 -p  option  to	 search	 the current $PATH for
       command (or a list of commands) and display it's version string.

       You can also use the cc, CC, and f95 compiler's -V  option  to  display
       directly	 the version ID of the various executables that operate during
       a compilation session.

EXAMPLES
       In the following examples, path must give  the  full  pathname  to  the
       file(s).

	      version  /path/f95 /path/prod/iropt

       Or use the -p option to find a command on the current $PATH:

	      version -p  cc CC f95 dbx

NOTES
       The  version  command seeks and displays any string of ASCII characters
       following the @(#)RELEASE VERSION string.  This string should be	 in  a
       #pragma ident, for example:

	      #pragma ident @(#)RELEASE VERSION 8.2

       The version information string following this version-key string can be
       any sequence of printable characters terminated by a NEWLINE or NULL.

       To see a list of the Oracle Solaris Studio components installed on your
       system, use the package command that is appropriate for your system.

       For  example,  to see which package contains the cc binary use commands
       like this:
	 On Solaris 10 : pkgchk -l -p /path/to/.../bin/cc
	 On Solaris 11 : pkg search -lp /path/to/.../bin/cc
	 On Linux      : rpm -qf /path/to/.../bin/cc

       To see which Oracle  Solaris  Studio  packages  are  installed  on  the
       system:
	 On Solaris 10 : pkginfo | grep SPRO
	 On Solaris 11 : pkg list | grep -i studio
	 On Linux      : rpm -qa | grep solstudio | head

				 November 2011			    version(1)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net