add 1 to a variable in bash code example Example: increment number bash i=$((i+1)) ((i=i+1)) let "i=i+1"