
bash
January 10, 2019
How to add numbers in bash
To add a number you need to encase the expression in $(( ))
Adding numbers example
echo $((4 + 4))
8
Further details
Thanks for reading!

To add a number you need to encase the expression in $(( ))
echo $((4 + 4))
8
Thanks for reading!