Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (t - u) unalias(1)
NAME
unalias - Removes aliases
SYNOPSIS
unalias name ...
unalias -a
FLAGS
-a Removes all alias denitions from the current shell environment.
DESCRIPTION
The unalias command removes alias denitions.
Without the -a ag, the alias command removes the names specied as name ... from the shells
alias list.
With the -a ag, the alias command removes all alias denitions from the current shell execution
environment, but not from the shells alias list.
EXIT VALUES
If one of the name arguments does not represent a valid alias denition or an error occurs, the
exit value is greater than 0 (zero).
NOTES
The unalias command is a shell built-in command. It differs from the regular commands in that it
does not open a new shell process when it executes.
A general discussion of shell built-in commands and a list of the OSS shell built-in commands
are in the reference page for sh(1).
RELATED INFORMATION
Commands: alias(1), sh(1).
527188-003 Hewlett-Packard Company 929