newalias(1) CLIX newalias(1)
NAME
newalias - Installs new Elm aliases for the user or system
SYNOPSIS
newalias [-g]
FLAGS
-g Updates the global system alias file instead of the user's alias
file.
DESCRIPTION
The newalias command installs new aliases for use with the elm command.
The default action of newalias is to examine the $HOME/.elm/aliases.text
file and then create the $HOME/.elm/aliases.data and
$HOME/.elm/aliases.hash files. If the -g flag is used, newalias installs
the global system aliases instead of the user's aliases.
This command must be used before elm will recognize new aliases.
EXAMPLES
1. To install a set of user-defined aliases, enter the following command:
newalias
The aliases contained in the user's $HOME/.elm/aliases.text file are
then installed.
2. A system administrator enters the following command to install global
system aliases:
newalias -g
The aliases contained the /usr/lib/elm/aliases.text file are then
installed.
FILES
$HOME/.elm/aliases.text Alias source for the user.
$HOME/.elm/aliases.hash Alias hash table for the user.
$HOME/.elm/aliases.data Alias data file for the user.
/usr/lib/elm/aliases.text Alias source for the system.
/usr/lib/elm/aliases.hash Alias hash table for the system.
2/94 - Intergraph Corporation 1
newalias(1) CLIX newalias(1)
/usr/lib/elm/aliases.data Alias data file for the system.
CAUTIONS
Aliases must be defined in a specific order in the aliases.text file or
newalias will display an error message. For a detailed description of the
alias order, see aliases.text(4) for the proper format.
DIAGNOSTICS
The newalias command has descriptive error messages that do not need to be
detailed here. The checkalias command, however, ensures that the aliases
are in the proper order and are available for the elm system.
EXIT VALUES
The command exits with a value of 0 if successful. If unsuccessful, the
command exits with a value of 1.
RELATED INFORMATION
Commands: elm(1), checkalias(1)
The Elm User's and Reference Guides
2 Intergraph Corporation - 2/94