字符串长度:${#myStr}
[root@localhost potato]# myStr=hello
[root@localhost potato]# echo ${#myStr}5
字符串拼接:其实就是接着输出
[root@localhost potato]# greet=hello[root@localhost potato]# name=potato
[root@localhost potato]# echo $greet$name
hellopotato
字符串长度:${#myStr}
[root@localhost potato]# myStr=hello
[root@localhost potato]# echo ${#myStr}字符串拼接:其实就是接着输出
[root@localhost potato]# greet=hello