#!/bin/bash tableau=(un deux trois quatre) for indice in "${!tableau[@]}"; do echo ${tableau[$indice]}; done