Try eval... onestring="A" # set the values of arbitrary strings twostring="B" threestring="C" for string in one two three # loop thru string sets do var="${string}string" # var contains the name of the string # I wish to get access to echo \$$var=`eval echo \\$$var` done