bash use variable inside string code example
Example 1: bash use variable in string
domain='http://www.whitehouse.gov'
path='/some/path'
base_url="$domain$path"
Example 2: bash variable in string
${!var} #Just use to use reference value inside another variable ;)