Alias, Variable, Function, or Script?

First of all, note that this question cannot be asked in Windows. The standard Windows command line shell has neither aliases nor functions, so it’s a script or nothing. They are implemented in the UNIX/Linux/OS/X shells, though. Aliases, variables, functions, and scripts are different ways of executing code that you don’t want to type out time time, but each has a slightly different purpose:

Aliases

Shell Variables

Functions

Scripts


Last modified: Tue May 31 17:07:09 CDT 2011