a = 123
a=123
a=1+2
let a=1+2
a=$(ls -l)
shell脚本中的变量赋值
原文:https://www.cnblogs.com/enochmeng/p/15209489.html