#!/usr/bin/env bash # let performs arithmetic and assigns the result let x=5+3 let x*=2 echo "x=$x"
let evaluates arithmetic into a variable