Calculator in bash
Add next line onto your .bashrc:
? () { echo "$*" | bc -l; }
Then just use it:
? 10*2+3
Written by Alexey Bobyrev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#