How can I concatenate string variables in Bash?
You can use the substitution syntax (${}) as follows:
${}
h="Hello" w="world" hw="${h} ${w}" echo $hw # will output "Hello world" Click to Copy