How to use bc, the calculator tool

view story

http://www.linuxandlife.com – You can do calculation stuffs easily with bash on the command line, however it isnt very intuitive. Bash still works well with some simple calculations but in case you want to perform more complicated calculations, this may become a real hassle. And that is why bc is a better tool for you to perform calculating on the command line. The tool bc can do much more than bash for you and its syntax is ways easier. As far as I know, bc is a pre-included tool in all Linux distributions so you can use it whenever you want without installing anything. There are three ways to use bc. The first one is (Distributions)