Skip to main content

Ifs, Loops, and Scripting | Into the Terminal 20

Once a script has to make decisions, you need control flow. This episode adds ifs and loops to your toolkit.

What this episode covers:

  • Conditionals with if/test and comparison operators.
  • Looping over files and lists with for and while.
  • Building scripts that react instead of just running top to bottom.

Watch the full walkthrough above.