Shell arithmetic Use a command called expr bash$ expr 3 + 8 \* 2 19 bash$ bash has alternate syntax, instead of prog `expr 3 + 8 \* 2` can use prog $((3 + 8 * 2)) which is equivalent to prog 19