LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

qc

Quick command-line calculator

TLDR

Quick calculator
$ qc "[expression]"
copy
Interactive mode
$ qc
copy
Calculate with precision
$ qc "[1/3]"
copy

SYNOPSIS

qc [expression]

DESCRIPTION

qc is a lightweight command-line calculator for quickly evaluating mathematical expressions from the terminal. It accepts arithmetic expressions as arguments and prints the result, or runs interactively for multiple calculations in sequence.The tool supports standard operations including addition, subtraction, multiplication, division, and parentheses for grouping. It provides a faster alternative to launching a full calculator like bc or qalc when only simple arithmetic is needed.

PARAMETERS

EXPRESSION

Mathematical expression.

INSTALL

nix profile install nixpkgs#qc
copy

CAVEATS

Basic calculator. Various implementations exist.

HISTORY

qc provides quick calculations from the command line.

SEE ALSO

bc(1), qalc(1), calc(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid