bash echo and contatenating strings 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 ;)