bc

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

Usage:

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

Categories:

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.

0 Comments

Leave a Reply

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