This enables me to be yet more lazy.
Sep. 2nd, 2009 06:40 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
To do basic calculations on the command line in *nix/*nux:
Or just type
http://linux.die.net/man/1/bc
echo 2+2 | bc
Or just type
bc
, and go from there.http://linux.die.net/man/1/bc
(no subject)
Date: 2009-09-03 05:31 am (UTC)echo $((2 + 2))
or:
echo 2 2 + p | dc
(no subject)
Date: 2009-09-03 05:57 am (UTC)(no subject)
Date: 2009-09-04 03:29 pm (UTC)