linux cmd how to append string after $ environment variable code example Example: combine strings bash foo="Hello" foo="${foo} World" echo "${foo}" > Hello World