Author:
Source
This article is another one that contains some very important information. Arrays are useful in any programming language and Bash is no exception.
Arrays are like variable because it holds a value. Let’s look at arrays a little more.
Array
An array can hold multiple values, and an index manages each element of information.
Let’s look at an example to make this a little easier to understand. Let’s assume we have an array containing 12 entries. Each entry is an element, and each…
https://www.linux.org/threads/bash-08-–-arrays-and-for-loops.40972/