New to coding and started with Linux and Bash, so kindly excuse if my question sounds very basic.
Going thru few array related scripts over the net and found the belo