sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

User Commands | version(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- EXIT STATUS
- SEE ALSO

## NAME

| version - displays the version information

## SYNOPSIS

| `version [ --user admin_user ] [ --password admin_password ] [ --host localhost ] [ --port 4848 ] [ --secure|-s ] [ --passwordfile filename ] [ --terse=false ] [ --echo=false ] [ --interactive ] [ --verbose=false ]`

## DESCRIPTION

| `version` displays the version information. This command is supported in remote mode only.

## OPTIONS

| -u --user administrative user associated for the instance. -w --password administrative password corresponding to the administrative user. -H --host host name of the machine hosting the administrative instance. -p --port administrative port number associated with the administrative host. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). -s --secure indicates communication with the administrative instance in secured mode. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. --echo setting to true will echo the command line statement on the standard output. --interactive prompts you for the required options that are not already specified. --verbose displays version information in detail.

## EXAMPLES

| Example 1. Using remote mode to display version
    asadmin> version
    Sun Java System Application Server 7 2004Q2
Example 2. Using remote mode to display version in detail
    asadmin> export --user admin --password adminadmin
    --host bluestar --port 4848 --verbose
    Sun Java System Application Server 7 2004Q2 (build A021930-126949)

## EXIT STATUS

| 0 command executed successfully 1 error in executing the command

## SEE ALSO

| `help`(1)

| Go To Top | Last Changed April 2004

Company Info | Contact | Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.