Last Updated: February 25, 2016
·
556
· sfate

Calculator in bash

Add next line onto your .bashrc:

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

Then just use it:

? 10*2+3