哪一个 bash 内置命令能够进行数学运算?

bash shell 的内置命令 let 可以进行整型数的数学运算。

#! /bin/bash
…
…
let c=a+b
…
…
posted @ 2020-12-09 19:51  咔啡  阅读(196)  评论(0)    收藏  举报