Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 17:48:55 +0200
From:      Norbert Koch <nk@viteno.net>
To:        CD Baby <cdbaby@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: command-line calculator?
Message-ID:  <vzwu1v63ko.fsf@redqueen.ath.cx>
In-Reply-To: <36fb6de804062508417917d0b8@mail.gmail.com> (CD Baby's message of "Fri, 25 Jun 2004 08:41:02 -0700")
References:  <36fb6de804062508417917d0b8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
CD Baby <cdbaby@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vzwu1v63ko.fsf>