Basic for-loop in Bash

PHOTO EMBED

Sun Mar 28 2021 09:48:07 GMT+0000 (Coordinated Universal Time)

Saved by @FlorianC #bash

#!bin/bash

for fruit in peach orange apple; do # we represent a list in Bash by simply listing valkues/variables with spaces in between
  	echo "I like $fruit!"
done
content_copyCOPY