Control Flow
Allowing your code to make branching decisions, control flow requires a condition and makes a decision based on exit status of the conditional. shell offers a number of control flow elements.
  • Binary Operators (&& and ||)
  • if-elif-else Statement
  • case Statement
  • for Loop
  • while Loop
  • Functions
Copy link