O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required