Bash Command Line Expansion

From NovaOrdis Knowledge Base
Revision as of 00:06, 9 September 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

Each line read by bash from command line is interpreted as a pipeline: a sequence of commands separated by the pipe character (|).

Command processing starts by checking the first word of the command against an alias list, and if a match is found, the alias is replaced.

Then the result is parsed into tokens by using metacharacters as separators.