MPE/iX Shell and Utilities Reference Manual, Vol 1

alias(1) MPE/iX Shell and Utilities alias(1)
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 Failure because an alias could not be set.
2 Failure because of an invalid command line option.
If you define alias to determine the values of a set of names, the exit status is the number of
those names which are not currently defined as aliases.
Messages
Because this utility is built into the MPE/iX Shell, see the sh(1) man page for a complete list of
error messages that you may receive when using it.
PORTABILITY
KornShell.
POSIX.2. x/OPEN Portability Guide 4.0.
On UNIX systems, alias is a built-in command of the KornShell, but not of the Bourne Shell.
The –t and –x options are extensions to the
POSIX standard.
NOTE
This command is built into the shell.
Since exported aliases are only available in the current shell environment and to the child
processes of this environment, they will be unavailable to any new shell environment which
are started. To make an alias available to all shell environments, define it as a non-exported
alias in the
MPE/iX
Shell
ENV
file, which is executed whenever a new shell is run.
SEE ALSO
cd(1), fc(1), functions(1), hash(1), history(1), integer(1), let(1), pwd(1), r(1),
set(1), sh(1), typeset(1), unalias(1)
1-10 Commands and Utilities