UNIX FAQ Version 2.1 92/12/04 -- Question 5.3

UNIX FAQ Version 2.1 92/12/04 -- Question 5.3

Do all shells have aliases? Is there something else that can be used?

From: wicks@dcdmjw.fnal.gov (Matthew Wicks)

Date: Wed, 7 Oct 92 14:28:18 -0500

All of the major shells other than sh have aliases, but they don't all work the same way. For example, some don't accept arguments.

Although not strictly equivalent, shell functions (which exist in all shells from the Bourne shell category) have almost the same functionality of aliases. Shell functions can do things that aliases can't do.

Use unalias to remove aliases and unset to remove functions.