---

How to Use Indexed Arrays in bash

Bash supports one-dimensional indexed arrays, which are essentially ordered lists, where you can access the values by their index (i.e., position in the list). This bash tutorial teaches you how to use indexed arrays in bash. Various usages of indexed arrays in bash are illustrated with examples.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis