Linux Know-How provides a collection of introductory texts on often needed Linux skills.


Shell Expansion

After the command has been split into tokens, these tokens or words are expanded or resolved. There are eight kinds of expansion performed, which we will discuss in the next sections, in the order that they are expanded:

Brace expansion
Tilde expansion
Shell parameter and variable expansion
Command substitution
Arithmetic expansion
Process substitution
Word splitting
Filename Expansion

After all expansions, quote removal is performed.


Last Update: 2010-12-16