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