concatente strings in bash 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
foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World
foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World