concat variable bash code example Example: bash concatenate string variables foo="Hello" foo="${foo} World" echo "${foo}" > Hello World