shell variable in string code example
Example 1: shell script variable
TEXT="Hello World!"
echo $TEXT
# ouput: Hello World!
Example 2: bash variable in string
${!var} #Just use to use reference value inside another variable ;)
TEXT="Hello World!"
echo $TEXT
# ouput: Hello World!
${!var} #Just use to use reference value inside another variable ;)