Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
syntax:basicgrammar [2015/08/10 03:37] bill_thomson |
syntax:basicgrammar [2019/04/01 21:45] (current) ddebhw Fix a little typo. |
||
---|---|---|---|
Line 17: | Line 17: | ||
Sounds harder than it actually is. It is what you do daily. You enter simple commands with parameters, and the shell executes them. | Sounds harder than it actually is. It is what you do daily. You enter simple commands with parameters, and the shell executes them. | ||
- | Every complex Bash operationcan be split into simple commands: | + | Every complex Bash operation can be split into simple commands: |
<code> | <code> | ||
ls | ls | ||
Line 80: | Line 80: | ||
^Operator^Description^ | ^Operator^Description^ | ||
- | |''<PIPELINE1> **<newline>** <PIPELINE2>''|Newlines completely separate pipelines. The next pipeline is executed without any checks. You enter a command and press ''<RETURN>''!)| | + | |''<PIPELINE1> **<newline>** <PIPELINE2>''|Newlines completely separate pipelines. The next pipeline is executed without any checks. (You enter a command and press ''<RETURN>''!)| |
|''<PIPELINE1> **;** <PIPELINE2>''|The semicolon does what ''<newline>'' does: It separates the pipelines| | |''<PIPELINE1> **;** <PIPELINE2>''|The semicolon does what ''<newline>'' does: It separates the pipelines| | ||
|''<PIPELINE> **&** <PIPELINE>''|The pipeline in front of the ''&'' is executed **asynchronously** ("in the background"). If a pipeline follows this, it is executed immediately after the async pipeline starts| | |''<PIPELINE> **&** <PIPELINE>''|The pipeline in front of the ''&'' is executed **asynchronously** ("in the background"). If a pipeline follows this, it is executed immediately after the async pipeline starts| |