If you have some array and stings, and try to loop over them in Bash, you can use:

for i in "${list[@]}"
do
   :
   : 
   echo $i
done

My site is free of ads and trackers. Was this post helpful to you? Why not BuyMeACoffee