Do Math on Linux Command Line with expr command
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. I have performed all the commands and procedures on Debian 10, but the commands will work on any other … Read more