Compute Numerical Values at the Command Line
Experts use tools such as bc and dc for arithmetic in the shell. The num-utils and datamash packages open up further opportunities for processing numerical values at the command line.
Source: Linux Magazine Full Feed