string variable in shell script code example
Example 1: shell script variable
TEXT="Hello World!"
echo $TEXT
# ouput: Hello World!
Example 2: bash use variable in string
domain='http://www.whitehouse.gov'
path='/some/path'
base_url="$domain$path"