Alias

The alias mechanism allows you to define new commands by letting you substitute any string for any command. The syntax of the alias builtin is

alias [name[=value]]

or

alias [name[ value]]

There are no SPACEs around the equal sign . If value contains SPACEs or TABs, you must enclose value between quotation marks. The alias mechanism is disabled for noninteractive shells (that is, shell scripts).

An alias cannot be recursive: The name of the alias ...

Get A Practical Guide to Red Hat® Linux® 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.