Strings are concatenated by default in the shell.
value="$variable"text"$other_variable"
It's generally considered good practice to wrap variable expansions in double quotes.
You can also do this:
value="${variable}text${other_variable}"
The curly braces are useful when dealing with a mixture of variable names and strings.
Note that there should be no spaces around the =
in an assignment.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…