bash use | in string code example Example: bash use variable in string domain='http://www.whitehouse.gov' path='/some/path' base_url="$domain$path"