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 convert decimal [...]
Posted in Calculation, bc, pipeline | Hits: 11421 | 7 Comments »
Live Chat!








