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