Shell/Bash: bash print array Example

By

Shell/Bash Example: This is the "bash print array" Example. compiled from many sources on the internet by SimpleTutorials.org

bash display items in array

$ printf '%s\n' "${my_array[@]}"

bash print array

echo "${array[*]}"



* Summary: This "bash print array" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others