HHALIAS(1CBS) HHALIAS(1CBS)
NAME
hhalias - manipulate aliases to host names
SYNOPSIS
hhalias [-S] hostname alias [alias...]
or
hhalias [-S] -d alias [alias...]
or
hhalias [-S] -l
DESCRIPTION
Hhalias manages a list of aliases to NRS hostnames. An alias
can be used in the pad(1CBS) command or the hhcp(1CBS) and
hhstore(1CBS) commands in place of the actual hostname. With
the pad(1CBS) command the alias is simply used as a
convenient synonym; with the hhcp(1CBS) and hhstore(1CBS)
commands, though, aliases permit different sets of transfer
attributes to be stored for a single host and selected by
use of the corresponding alias.
An alias can consist of up to 31 characters, which must be
either alphanumeric or one of '.', '_' or '-'. A hostname
can be either a valid DTE nuemric address (with an optional
Yellow Book Transport Service address suffix), or the name
of a remote host known in the network directory.
The command has three distinct formats. In the first shown
above, it adds a set of alias for a specified hostname. In
the second, the presence of the -d flag causes it to delete
the specified aliases (which may be for more than one host);
and in the final format the -l option causes it to list
existing aliases.
With all formats, by default the command operates on the
user's private alias file. If the -S flag is specified the
system-wide alias file is used instead; note that only
superuser may alter this file.
FILES
~/.hhalias User's private alias file
/etc/hhalias System-wide alias file
SEE ALSO
hhcp(1CBS)
hhstore(1CBS)
pad(1CBS)
Page 1