Shell scripting

  1. Loop

  2. Command substitution: $(command) or `command`

  3. Parameter expansion: $variable, ${variable}, ${#variable}

  4. Arithmetic expansion: $(( expression ))

  5. Process substitution: <(command) or >(command)

  6. Control flow structures: if, else, for, while, case, until

  7. Functions: function name() { ... }

Last updated