Command line calculator, bc
September 4th, 2006 mysurface
How to do calculation if I only have command line? If you have BC you can, and you can do a very complicated calculation. To perform calculation, you can type bc and start to type your question, or passing question through pipeline, such as echo “56.8 + 77.7” | bc Let say you want to […]
Posted in bc, Calculation, pipeline | Hits: 206978 | 24 Comments »