bc: A command-line calculator for Ubuntu

It’s simple, but effective for command line addicts

If it’s not already installed, install it by using:

sudo apt install bc

then run bc and type any calculations you want. I wrote for example

$ bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
3.65*549
2003.85

That’s it, Enjoy!

Source: https://fedoramagazine.org/bc-command-line-calculator/

About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s