Bash arrays
We'll cover the following
Bash only provides one-dimensional indexed variables (arrays). The declare
builtin command will explicitly declare an array. There is no maximum limit on the size of an array, nor any requirement that members be indexed or assigned contiguously!
Array example: #
Let’s construct an array containing three elements:
Get hands-on with 1400+ tech skills courses.