Do Math on Linux Command Line with expr command
by from on (#53T8E)
The Linux terminal (shell) allows you to perform mathematical calculations including addition, subtraction, multiplication, division, increment, and comparison of multiple numbers easily. This tutorial will show you various examples of basic mathematical calculations using expr command.