Cara menggabungkan variabel string dalam bash

Bash also supports a += operator as shown in this code:

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

X Y Z
shafeeque