command-line calculator?

Norbert Koch nk at viteno.net
Fri Jun 25 08:48:57 PDT 2004


CD Baby <cdbaby at gmail.com> writes:

> What simple built-in command-line tools are available if I want to
> just do some simple math on the command line?
>
> If I'm there in a shell, and need to know what 17 times 36 equals?

echo "17 * 36" | bc

norbert.


More information about the freebsd-questions mailing list