Answers for "print all elements of array in bash"

3

bash display items in array

$ printf '%s\n' "${my_array[@]}"
Posted by: Guest on January-28-2020
1

bash print array

echo "${array[*]}"
Posted by: Guest on August-04-2020

Code answers related to "print all elements of array in bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language