bash的运算符
数值运算
1 declare 声明变量的类型
Linux-shell学习2
用export和 declare -x都可以变量变成环境变量
Linux-shell学习2
声明cc为数组 如果左侧数组运算右侧会取值进行运算但不会更改其本身的数据类型
Linux-shell学习2
Linux-shell学习2
2 expr或let数值运算工具
Linux-shell学习2
Linux-shell学习2
3 $((运算式)) 或 $[运算式]
Linux-shell学习2
Linux-shell学习2
运算符 优先级数值越高优先越高
Linux-shell学习2
Linux-shell学习2
Linux-shell学习2
变量测试与内容替换 此次跳过暂时
Linux-shell学习2
环境变量配置文件

相关文章:

  • 2021-07-24
  • 2021-05-18
  • 2021-11-02
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-17
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
  • 2022-03-02
  • 2022-12-23
相关资源
相似解决方案