shell 中变获取值及运算的几种方法

num=$(tail ./image/1.txt -n 1)

num=$(($num+1))

原文地址:https://www.cnblogs.com/Malphite/p/7468252.html