You are here: HomeTechnologyMac OS X 10.6 Snow LeopardBasic Calculator

Home

Basic Calculator

basic calculator from terminal command line

Tucked away in the commands available in terminal.app theres a basic interactive calculator which is handy. Type arithmetic using plus, minus, multiply and divide keys and numbers. Simple. Well no, theres a whole lot more you can do but thats all I use it for.

Example

mac:~ macuser$ 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'. 
4+4
8
quit
mac:~ macuser$

Login Form

Books!
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-8673539-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();