a=(0 1 2 3 4 5 6 7 8 9)
echo ${a[@]: -1}
echo ${a[@]:9}
echo ${a[@]:10}
echo ${a[@]:11}
echo ${a[@]:7:3}