January 2001
Intermediate to advanced
480 pages
7h 22m
English
Aliases are command macros and are used as shorthand for other commands, especially frequently-used ones.
| alias | display a list of aliases and their values |
| alias name | display the value for alias name |
| alias name='value' | create an alias name set to value |
| alias –t | display a list of tracked aliases |
| alias –t name='value' | create a tracked alias name set to value |
| unalias name | remove the alias name |
| Alias | Value | Definition |
|---|---|---|
| autoload | typeset –fu | define an autoloading function |
| echo | print – | display arguments |
| functions | typeset –f | display list of functions |
| hash | alias –t – | display list of tracked aliases |
| history | fc –l | list commands from history file |
| integer | typeset –i | declare integer variable |
| r | fc –e – | re-execute ... |
Read now
Unlock full access