Showing posts with the label bash

Bash Math Operations With Variables

The oldest command for doing arithmetic operations in bash is expr. To get the value held in a variable you have to pr…