Articles
bash
How to add numbers in bashbash

To add a number you need to encase the expression in $(( ))

Adding numbers example

echo $((4 + 4))

8

Further details

Bash Arithmetic Expressions