From FreeBSDwiki
Jump to: navigation, search

The unalias command is used to remove aliases from the shell.

The syntax is always the same - for example, we can see that this system has an alias causing 'foo' to be interpreted as 'bar':

> alias foo

If we want to remove it, we simply use unalias:

> unalias foo

And now we can see that it's gone:

> alias foo

See also: alias

Personal tools