Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 09:47:41 -0600
From:      Aaron <aaron@justaaron.com>
To:        CD Baby <cdbaby@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: command-line calculator?
Message-ID:  <40DC491D.9080502@justaaron.com>
In-Reply-To: <36fb6de804062508417917d0b8@mail.gmail.com>
References:  <36fb6de804062508417917d0b8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
CD Baby wrote:
> 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?

$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
17*36
612
^D

-- 
Aaron
aaron@justaaron.com



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