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
Which command is used to find whether the system is 32 bit or 64 bit?
Give the command for finding the current date.
Which unix command to make a new directory?
What is the significance of the 'tee' command?
What does the command ' $who | sort –logfile > newfile' do?
What is ‘ps’ command for?
What is {} in find command?
How do I search a whole word in vim?
Describe the usage and functionality of the command rm –r * in unix?
What are the commands in UNIX to list the files in a Directory?
What does the command '$ls | wc –l > file1' do?
What's a command word?
What are reported commands?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Name the various commands that are used for the user information in unix.