Last Updated: February 25, 2016
·
557
· sfate

Calculator in bash

Add next line onto your .bashrc:

? () { echo "$*" | bc -l; }

Then just use it:

? 10*2+3