Linux Arithmetic Operations / Calculation on the Bash

Arithmetic operations in the Bash are different to most other programming languages. As seen in (Part 3)[/tutorials/bash-scripting-variables] of this tutorial, bash variables are untyped, which can bring certain issues in treating them as numbers.

Linux Bash Variables

After exploring Linux Environment Variables in Part 2, in this edition we are going to focus on using variables in Bash scripts.

Linux Environment Variables

In the second part of the Bash Scripting tutorial we focus on Linux Environment Variables and what you can achieve with them.

With bash scripts you automate tasks and create "little" programs in an Linux or Unix environment.

In this series you learn how to create bash scripts and learn about the technical background, which is important for understanding, how the bash is really working.