Arithmetic operation in BASH Arithmetic operation in bash can be done as below. num1=6 num2=8 sum=$((num1+num2)) echo $sum Output: 14