How to Concatenate two strings in Bash Script?

1. += Append to variable

$ A="X Y"$ A+="Z"$ echo "$A"X YZ

2. Using variables

a='Hello'b='World'c=$a$becho $c> HelloWorld

3. Using String

foo="Hello"foo="$foo World"echo $foo> Hello World