forLoops over a list.Syntaxfor x in items; do ... doneDescriptionLoops for each element in a list (or {1..n} range).ExampleLoading editor…▶ Try it yourselfExpected output1 2 3When to use?Processing files, repetition.Related commandswhileArray← if / test [ ]while →