fabiopedrazzoli.com
Simple bash calculator
Put the following little snippet in your .bashrc/.bash_profile and you’ll have a handy little calculator: ? () { echo “$*” | bc -l; } Use like this: bash$ ? 2*2 4 Thanks textsnipp…