sum variables shell code example Example: sum variables shell a=`expr "$a" + "$num"` a=$(($a+$num)) ((a=a+num)) let a=a+num ((a+=num))