Help Alias Unalias

Name
Alias
 
Syntax
alias
alias <word>
alias <word> <substitution>
unalias <word>
 
Description
The alias command allows limited shortening of command names.  At
this time, aliases cannot call other aliases, and cannot generate
more than one command.  Alias by itself lists your current aliases,
Alias <word> lists the alias with that name (if such exist), and
alias with both a word and and argument produces a new alias.  You
cannot alias either alias or unalias to a new command.  Examples
of use:

alias gc get all corpse --> typing gc will equal typing 'get all corpse'
alias ff cast 'fireball' --> ff orc will equal 'cast 'fireball' orc'

Only the first word on the line will be subsituted at this time.
If the first letter of a command is a space, the alias will not
be parsed. This is not a bug, it's a feature.
 
See also
command stacking
 
Keywords
alias, unalias

Go back to the help index.