Aliases provide a way of conveniently recalling frequently used commands with a user-defined shorthand name. The alias statement associates a list of words with an alias name. The = is optional. Parentheses are used around the wordlist if it contains special characters such as i/o redirection operators that should be part of the alias definition.
Inside the wordlist, history references can be used to refer to the words on the command line but the ! history and any wildcard characters have to be escaped or quoted to defer processing. Here's an example.
alias name prints the definition of that alias; alias pattern prints the definitions of all the aliases whose names match the pattern. alias without any arguments prints the definitions of all the aliases.
unalias namelist discards the specified aliases; unalias pattern discards all the aliases whose names match the pattern.
Builtin procedures
Expression operators
Wildcard characters
Tutorial: Procedures
Tutorial: Programming constructs
Tutorial: Expressions
Tutorial: Wildcarding