Shell - (Word | Token | Field)


In a bash pipeline, the pipeline message is known as:

  • the word
  • the field

This is a sequence of characters considered as a single unit by the shell.

The first message is the standard input.

Word and Field Differences:

  • Word: Bash takes a command line and splits it into word
  • Field: IFS



With the following expansion, you can change the number of words of the expansion;

The only exceptions are the expansions of:


The read command can split an input into line or word.

Powered by ComboStrap