一、${str}
二、变量替换
三、3种计算字符串长度的效率比较
四、(())用法
五、expr
六、bc
七、条件测试
八、字符串测试
Shell 变量基础
原文:https://www.cnblogs.com/tudachui/p/10105660.html