Software Distributor Administration Guide for HP-UX 11i

Remote Operations Overview
Remote Operations from the Command Line
Chapter 6212
On some systems, the @ character is used as the kill function. Type
stty on your system to see if the @ character is mapped to any other
function on your system. If it is, remove the mapping, change the
mapping, or use \@.
Target Files
You can also use an input file to specify targets. To keep the command
line shorter, target selection input files let you specify long lists of
targets. With a target selection file, you only have to specify the single
file name.
The -t command-line option lets you specify a target file. For example:
swinstall -f mysoft -s /mnt/cd -t mytargs
In this example, the file mytargs (which resides in the default directory)
contains a list of target selections for the depot /mnt/cd.
In the target file, blank lines and comments (lines beginning with #) are
ignored. Each target selection must be specified on a separate line and
must consist of a host name or network address, optionally followed by a
colon and a full path:
host
[:/
directory
]
Examples
swacl
To list the global product template ACL on remote host gemini:
swacl -l global_product_template @ gemini
swask
To run all request scripts from depot /var/spool/sw on the remote
system swposix and write a response file back to the same depot:
swask -s swposix:/var/spool/sw \*
swconfig
To configure the C and Pascal products on three remote hosts:
swconfig cc pascal @ hostA hostB hostC