Bash Tutorial

Bash Syntax

Bash Syntax

Every Bash program has rules for how statements are written and executed.

  • Follow Bash syntax rules for statements and blocks
  • Use comments to document code
  • Run examples in the Try it editor

Example

NAME="Sturdee"
echo $NAME
Try it Yourself
Run this BASH example in your local environment or course sandbox.