Bash Reference Manual. Node: Alias Builtins

prev UPAliases next

5.9.1: Alias Builtins

alias [-p] [name[=value] ...]

Without arguments or with the `-p' option, alias prints the list of aliases on the standard output in a form that allows them to be reused as input. If arguments are supplied, an alias is defined for each name whose value is given. If no value is given, the name and value of the alias is printed.

unalias [-a] [name ... ]

Remove each name from the list of aliases. If `-a' is supplied, all aliases are removed.

prev UPAliases next