---

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.