Arrays used for storing several values in Bash Scripts.
These are 0-indexed.
Declaration
array_name=(val1 val2 val3)Reference
Whole arrays are simply referenced like Variables, while a single array elements of index i in the array can be referenced with
${array_name[i]}