Array - Show value of a specific element in linux shell array
In this article we can learn how to output the specific array element in linux bash shell for bash scripting.
Prints the third element:
1e.g:
2 arrayNames=( btc eos eth usdt )
3 echo ${arrayNames[2]}