Published by Jesse Afolabi on

bc Linux command on chromeOS

bc is a powerful and installable tool that is essentially an arbitrary precision CLI calculator language that can be used in the manner exemplified below:

$ echo 20.05 + 15.00 | bc

install bc using:

$ sudo apt install bc


bc [options] [file …]
-h –help print this usage and exit
-i –interactive force interactive mode
-l –mathlib use the predefined math routines
-q –quiet don’t print initial banner
-s –standard non-standard bc constructs are errors
-w –warn warn about non-standard bc constructs
-v –version print version information and exit


Jesse Afolabi

Having been a technical writer for over 4 years, and co-founded Fossmint.com in 2016, I took my passion to the next level with the founding of Itschromeos.com which so happens to revolve around my love for open-source technologies and Chrome OS. It's my hope to venture into new avenues in the tech universe and take you with me on that ride.


Leave a Reply

Your email address will not be published. Required fields are marked *