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