---

How to do Basic Math in Linux Command Line

The Linux bash, or the command line, lets you perform both basic and complex arithmetic and boolean operations. The commands like expr, jot, bc and, factor etc, help you in finding optimal mathematical solutions to complex problems.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis