shell 如何 拼接字符串

shell中如何把两个字符串变量拼接成一个字符串字符串
2025-05-08 00:32:57
推荐回答(1个)
回答1:

#!/bin/sh
str1="111"
str2="222"
str3=$str1$str2
echo $str3