Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
Syntax
Software and source depot selections are followed by target selections. These operands are
separated by the “@” (at) character. This syntax implies that the command operates on selections
at targets.
The target_selections syntax is identical for all Software Distributor commands that require
it:
@ [host][:][/directory] | [./relative_path] | [../relative_path]
Only one @ character is needed.
You can specify the host by its host name, domain name, or internet address. A directory must
be specified by an absolute path or a relative pathname. If a host is specified, the directory
must be an absolute path. To specify a relative_path when no host is specified, the
relative_path must start with ./ or ../; otherwise, the specified name is considered as
a host.
The : (colon) is required if you specify both a host and directory.
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 \@.
NOTE: On HP-UX 11i v3, the internet address can also be specified in the IPv6 format. When
IPv6 internet address is specified, it can be optionally enclosed within square brackets [ and ].
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]
NOTE: The host can be an internet address either in IPv4 format with dot notation or in IPv6
format. When IPv6 internet address is specified, it can be optionally enclosed within square brackets
[ and ].
Examples
swacl
To list the global product template ACL on remote host gemini:
# swacl -l global_product_template @ gemini
If 3ffe:ffff:101::230:6eff:fe04:d9ff is the IPv6 address of gemini, then the global
product template ACL on the remote host gemini can also be listed with the following command:
# swacl -l global_product_template @ 3ffe:ffff:101::230:6eff:fe04:d9ff
130 Remote Operations Overview