February 2001
Beginner to intermediate
448 pages
9h 2m
English
Official Description
Removes alias definitions.
Syntax
unalias alias-name... | [-a]
Options
-a removes all alias definitions.
Oddities
The C shell has its own version of this command.
Example
$ alias cat=ls # Make two aliases $ alias p=ps $ $ alias # Display alias list 2d='set -f;_2d' autoload='typeset -fu' cat=ls command='command ' fc=hist float='typeset -E' functions='typeset -f' hash='alias -t --' history='hist -l' integer='typeset -i' nameref='typeset -n' nohup='nohup ' p=ps r='hist -s' redirect='command exec' stop='kill -s STOP' suspend='kill -s STOP $$' times='{{time;} 2>&1;} ' type='whence -v' $ $ unalias –a # Blow them all away $ $ alias # Gone $
Read now
Unlock full access