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
What are the differences among a system call, a library function, and a unix command?
How to find $ai_serual resolved path by using unix
What are some command words?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the search command in unix?
What are awk commands?
Name the unix command to find how many days the server has been up.
What is used to type command?
What is “chmod” command?
Write a command to display a file’s contents in various formats?
What does awk stand for?
What is the general format of unix command syntax?
What do chgrp command do?
What is grep short for?
Explain mount and unmount command.