Math and Arithmetic are often used in Bash scripting, especially when writing crontab reports, monitoring plugins, setting up scripts with dynamic configurations, or other automation tasks like showing a Raspberry PI CPU temperature. There is always some arithmetic calculation to be made. This post covers how to do basic mathematical operations (elementary arithmetic like multiplication and additi
![Math Arithmetic: How To Do Calculation in Bash?](https://cdn-ak-scissors.b.st-hatena.com/image/square/ed6249c18b6b24e89ce7cb5849c39414f0048698/height=288;version=1;width=512/https%3A%2F%2Fwww.shell-tips.com%2Fbash%2Fmath-arithmetic-calculation%2Fog-performing-math-calculation-in-bash.png)