How do you find which version and name of unix you are
using at the command prompt?

Answer Posted / prabakaran

The swlist command displays information about software
products installed at or available from the specified
target_selections. It supports these features:

*

Specify bundles, products, subproducts, and/or
filesets to list.
*

Display the files contained in each fileset.
*

Display a table of contents from a software source.
*

Specify the attributes to display for each software
object.
*

Display all attributes for bundles, products,
subproducts, filesets and/or files.
*

Display the full software_spec to be used with
software selections.
*

Display the readme file for products.
*

Display the depots on a specified host.
*

Create a list of products, subproducts, and/or
filesets to use as input to the other commands.
*

List the categories of available or applied patches.
*

List applied patches and their state (applied or
committed).

Previewing Product and OS Update Information

To preview information about new software in the depot, you
can use swlist to view the readme file for each product,
including OS update information contained in the SD (SW-DIST
product) readme. For example, to display the latest OS
update information:

swlist -d -a readme -l product SW-DIST @ hostA:/depot11
Options

When no options or operands are specified, swlist lists the
software bundles (and products which are not part of a
bundle) that are installed at the local host. swlist
supports the following options:

-d

List software available from a depot (instead of
software installed on a root filesystem).
-i

Invoke the swlist interactive user interface. The
interactive interface lets you browse SD software objects.
Invoking swlist -i -d lets you browse depot software.
-r

List products installed on an alternate root filesystem
(instead of software installed on /). Use of -r is optional.
-R

Shorthand for -l bundle -l product -l subproduct -l
fileset.
-v

If no -a options are specified, then list all the
attributes for an object, one attribute per line. The
attributes are listed in the format:

keyword value

If one or more -a options are specified, then list the
selected attributes in the above format.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to view process running?

578


What does grep v grep do?

556


What is the command to find hidden files in the current directory?

589


What are the general commands in using unix os for a beginner?

583


How to find $ai_serual resolved path by using unix

1031






Which command is used to restrict incoming messages?

594


What is used to type command?

549


What is the difference between cat command and more command?

602


Explain ‘system calls’ with respect to unix commands?

606


Which command is used to kill the last background job?

787


How to use grep command to list find the records of a file containing 10 different strings?

650


Is ‘du’ a command? If so, what is its use?

639


Can you explain a little bit about command substitution?

612


What is command substitution?

627


What is the use of sed command in unix?

604