Language Selection

English French German Italian Portuguese Spanish

Command line calculator for Linux, calculate big with bc

Filed under
Software

If you’re a command line freak, you’ve probably use expr for common math calculations but did you know that the bc command allows you to do similar math calculations and is more powerful when it comes to bigger calculations?

The nice thing about bc is that it accepts inputs from files, from standard output and this allows the command line user to pipe data out for quick calculations. The syntax for basic calculation is very similar to Google’s calculator.

Here are some basic examples:




More in Tux Machines

Linux 4.12.8, 4.9.44, 4.4.83, and 3.18.66

10 advantages of open source for the enterprise

In the past decade, adoption of open source software at the enterprise level has flourished, as more businesses discover the considerable advantages open source solutions hold over their proprietary counterparts, and as the enterprise mentality around open source continues to shift. Enterprises looking to make smart use of open source software will find plenty of great reasons to do so. Here are just some of them. Read more

Qt Creator 4.4 RC released

We are happy to announce the release of Qt Creator 4.4 RC! For the details on what is new in Qt Creator 4.4, please refer to the Beta blog post. As usual we have been busy with bug fixes and improvements since then, and now would be a good time for you to go get it, and provide final feedback. Read more Also: Qt Creator 4.4 Advances To Release Candidate Stage

Another Behind-the-Scenes Niche Where Open Source is Winning

Do you spend a lot of time thinking about Bluetooth Low Energy (BLE) beacons? Unless you run a retail store, probably not. But if you do run a store (or stores) along with an e-commerce operation, BLE is a hot new thing you are either using already or thinking about using before long. Why? Because the graffiti is on the wall, and it says, “Sales in physical stores are going down every year, and most retailers aren’t seeing enough online sales gains to take up the slack.” BLE may help stop the retail sales slide or at least slow it down. It’s cheap enough, especially with open source beacons, that it’s certainly worth a try. Read more