concatenate variable name and str bash script code example Example: bash concatenate string variables foo="Hello" foo="${foo} World" echo "${foo}" > Hello World