http://www.notesbit.com/index.php/scripts-unix/linux-unix-shell-script-how-to-add-integers-in-bash-sample/ c=$(($a+$b)) How to add integers in bash