Software Distributor Administration Guide for HP-UX 11i
Introduction to Software Distributor
Working from the Command Line
Chapter 1 61
To start an interactive swinstall session using the options stored in
my_install_defaults to override any system-wide or personal defaults
file values:
swinstall -i -X my_install_defaults=true
To start an interactive install session and reset the
use_alternate_source default for this session only:
swinstall -i -x use_alternate_source
See Appendix A, “Command Options,” on page 421 for a complete listing
of defaults and their values and descriptions.
CAUTION Changing the default values for command options can cause harmful
results if you specify inappropriate values.
Session Files
Before any SD-UX task starts, the system automatically saves the
current command options, source information, software selections, target
selections, etc., into a session file. You can then re-use this session
information at a later time, even if the command fails.
Session information is saved in the $HOME/.sw/sessions/ directory as
command
.last in which
command
is the name of the command. Each time
you save a session file, it overwrites the previously stored one. (To save
multiple session files, you can rename each session file after you invoke
the command.)
To re-use the automatically saved session file, invoke the command with
the -S
swcommand
.last argument. For example:
swinstall -S swinstall.last
If you want to save a session file to somewhere other than the default
sessions directory, use the -C
session_file
argument and supply your
own absolute path to the file you wish to save. If you do not specify a
directory, the default location for the session file is
$HOME/.sw/sessions/.
To re-execute a session from a command line, specify the session file as
the argument for the -S
session_file
option.