#!/bin/bash#加法expr 1 + 2#减法expr 2 - 2#乘法expr 1 * 2#除法expr 10 / 3先安装bc yum取小数点后两位echo "scale=2;10/3"|bc###############################expr 10 % 3 取余