print all array in shel code example Example: bash display items in array $ printf '%s\n' "${my_array[@]}"