I am working on shell script where i want to store O/P of the command in array.
I have a file containing rows & columns from where i want to extract 3rd column & store all values in a array. if suppose i have below in my file
abc xyz pqr akl mnt var man lak qer tag sam bob
I want to store pqr, man and sam in array lets call
name, name, name 
Can someone please help me with this.