$ let i=5**2 $ echo $i 25 $ ((i=5**2)) $ echo $i 25 $ echo "5^2" | bc 25 转载于:https://www.cnblogs.com/sea-stream/p/9880537.html