Array - Get element values at specific starting position in linux bash shell

Array - Get element values at specific starting position in linux bash shell
Array - Get element values at specific starting position in linux bash shell

In this article we can learn how to output the elements in specific starting position in linux bash shell.

1e.g: starting at second element
2 arrayNames=( btc eos eth usdt ltc)
3 echo ${arrayNames[@]:1}
1e.g: starting at fourth element
2 arrayNames=( btc eos eth usdt ltc)
3 echo ${arrayNames[@]:3}