unalias(1)unalias(1)NAMEunalias - Removes alias definitions
SYNOPSISunalias alias-name...
unalias-a
Note
The C shell has a built-in version of the unalias command. If you are
using the C shell, and want to guarantee that you are using the command
described here, you must specify the full path /usr/bin/unalias. See
the csh(1) reference page for a description of the built-in command.
STANDARDS
Interfaces documented on this reference page conform to industry stan‐
dards as follows:
unalias: XCU5.0
Refer to the standards(5) reference page for more information about
industry standards and associated tags.
OPTIONS
Removes all alias definitions from the current shell execution environ‐
ment.
OPERANDS
The name of an alias to be removed.
DESCRIPTION
The unalias utility removes the definition for each alias name speci‐
fied. The aliases are removed from the current shell execution environ‐
ment.
EXIT STATUS
The following exit values are returned: Successful completion. One of
the alias-name operands specified did not represent a valid alias defi‐
nition, or an error occurred.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of unalias:
Provides a default value for the internationalization variables that
are unset or null. If LANG is unset or null, the corresponding value
from the default locale is used. If any of the internationalization
variables contain an invalid setting, the utility behaves as if none of
the variables had been defined. If set to a non-empty string value,
overrides the values of all the other internationalization variables.
Determines the locale for the interpretation of sequences of bytes of
text data as characters (for example, single-byte as opposed to multi‐
byte characters in arguments). Determines the locale used to affect
the format and contents of diagnostic messages written to standard
error. Determines the location of message catalogues for the process‐
ing of LC_MESSAGES.
SEE ALSO
Commands: alias(1), csh(1)
Standards: standards(5)unalias(1)