Bash Arrays: Exploring and Experimenting with Bash Arrays

This is a series of posts exploring bash arrays, from the basics to more advanced usages. I began the series in an attempt to understand bash arrays as I was building the Shell Tree script

  1. How to declare an array and set its elements
  2. How to get the indices of an array
  3. How to cycle through an array
  4. How to copy an array
  5. How to pass arrays as parameters
  6. Understanding Local Arrays in Recursive Functions

Some Additional Important Posts

  1. How to make recursive function
  2. Understanding indirect expansion

Ahmed Amayem has written 90 articles

A Web Application Developer Entrepreneur.