how to access shell script array values

Shell
${array_name[*]}
${array_name[@]}
Source

Also in Shell: