unalias - remove aliases


C shell

unalias pattern

Korn shell

unalias [-adt] [name1 ...]


This command is a built-in command in the C shell and the Korn shell.

C shell

The unalias(1) command removes all aliases whose names match pattern; 'unalias *' thus removes all aliases. It is not an error if no aliases are removed.

Korn shell

The aliases for the given names are removed. If the -a option is used, all aliases are removed. If the -t or -d options are used, the indicated operations are carried out on tracked or directory aliases, respectively.