Node: alias, Next: , Previous: Options, Up: Options



5.1 The Option alias

With alias, you can define abbreviations for longer command lines. As arguments, give an alias name and an expansion (a command line which the name will stand for). If the expansion contains spaces, enclose it in double quotes. Use set alias name to delete alias name.

If you type the name of an alias at your command line, its expansion will be executed. The character sequence %a in your alias definition will be replaced by what follows the alias name in the command line.

Aliases cannot be nested.