While Loops and Arrays in Bash

Here's a simple for loop using an array:

numbers=(one two three)
for x in ${tables[@]}
do
  echo "Number: $x"
done
No votes yet