Calculations from the command-line with bc


bc is a calculator language, it can solve complex arithmetic problems or….

perform basic calculator operations when I need it:

jemurray@mbp-2019:~ $ echo 2+2 | bc
4