Simple calculation (math) in Bash using ‘bc’By neokrates, written on September 6, 2010 |
bash snippet |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Rate it
Ad
Poll
Loading ...
Most popular search terms:
Stats
-
Since publication, this page was visited 194 time(s).
user@host:~$ echo "1+2.3"|bc 3.3 user@host:~$ echo "1-2.3"|bc -1.3 user@host:~$ echo "1.2*2.3"|bc 2.7
|
TAGS
|
|
SOCIAL
|


















