append strings in bash code example
Example 1: combine strings bash
foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World
Example 2: bash variable in string
${!var} #Just use to use reference value inside another variable ;)
foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World
${!var} #Just use to use reference value inside another variable ;)