bash string concatenation with variables code example
Example 1: combine strings bash
foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World
Example 2: bash concatenate string variables
foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World