MPE/iX Shell and Utilities Reference Manual, Vol 1

alias(1) MPE/iX Shell and Utilities alias(1)
Options
alias accepts the following options:
–t makes each name on the command line a tracked alias. Each tracked alias resolves
to its full path name; thus the shell avoids searching the
PATH
directories whenever
you invoke the command. The shell assigns the full path name of a tracked alias the
first time that you invoke it. It reassigns a path name the first time you use the alias
after changing the variable
PATH
or running the shell command cd. When you issue
the command
set -h
each subsequent command you use in the shell automatically becomes a tracked
alias. Invoking alias with the –t option, but without any specified names, displays
all currently defined tracked aliases with appropriate quoting.
–x marks each alias name on the command line for export. If you specify –x without
any names, alias displays all exported aliases. Only exported aliases are passed to
a shell that runs a shell script.
Built-in Aliases
There are several aliases built into the shell:
alias functions="typeset –f"
alias hash="alias –t"
alias history="fc –l"
alias integer="typeset –i"
alias r="fc –s"
On systems supporting job control:
alias stop="kill -STOP"
alias suspend="stop \$\$"
You can change or remove any of these aliases. See the relevant manual pages for details.
EXAMPLES
The command:
alias ls="ls -C"
defines ls as an alias. From this point onward, when you issue an ls command, it produces
multi-column output by default.
Commands and Utilities 1-9