Unalias
From FreeBSDwiki
		(Difference between revisions)
		
		
|  ("alias" looks really weird if you type it too many times in a row. =)) | |||
| Line 1: | Line 1: | ||
| − | The [[unalias]] command is used to remove  | + | The [[unalias]] command is used to remove [[alias]]es from the shell. | 
| − | The syntax is always the same  | + | The syntax is always the same - for example, we can see that this system has an alias causing 'foo' to be interpreted as 'bar': | 
| − |   unalias foo | + |  > '''alias foo''' | 
| + |  foo='bar' | ||
| + | |||
| + | 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]] | See also: [[alias]] | ||
| [[Category : System Commands]] | [[Category : System Commands]] | ||
Revision as of 04:56, 18 July 2005
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 foo='bar'
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
