- `echo "All Index: ${NAME[*]}"` equals to `echo "All Index: ${NAME[0]} ${NAME[1]} ${NAME[2]} ${NAME[3]} ${NAME[4]}"`
- `echo "All Index: ${NAME[@]}"` equals to `echo "All Index: ${NAME[0]}" "${NAME[1]}" "${NAME[2]}" "${NAME[3]}" "${NAME[4]}`"
You can see the execution result in [copy.sh](https://copy.sh/v86/?profile=archlinux&c=set%20-x%3B%20NAME%5B0%5D%3D%22Deepak%22%3B%20NAME%5B1%5D%3D%22Renuka%22%3B%20NAME%5B2%5D%3D%22Joe%22%3B%20NAME%5B3%5D%3D%22Alex%22%3B%20NAME%5B4%5D%3D%22Amir%22%3B%20echo%20%22All%20Index%3A%20%24%7BNAME%5B*%5D%7D%22%3B%20echo%20%22All%20Index%3A%20%24%7BNAME%5B%40%5D%7D%22).