September 2009
Beginner
942 pages
85h 34m
English
alias
alias [option] [name[='cmd']...]
Assign a shorthand name as a synonym for cmd. If ='cmd' is omitted, print the alias for name; if name is also omitted, print all aliases. By itself or with -p, alias prints one alias per line on standard output as alias name=value. If the value contains a trailing space, the next word on the command line also becomes a candidate for alias expansion. See also unalias.
Print the word alias before each alias.
alias dir='echo ${PWD##*/}'