Unix & Linux
Unix & Linux Meta
to customize your list.
more stack exchange communities
Start here for a quick overview of the site
Detailed answers to any questions you might have
Discuss the workings and policies of this site
Unix & Linux
Doing simple math on the command line using bash functions: $1 divided by $2 (using bc perhaps)
Sometimes I need to divide one number by another. It would be great if I could just define a bash function for this. So far, I am forced to use expressions like echo 'scale=25;65320/670' | bc but ...
Jan 31 '12 at 14:12
newest bashrc arithmetic questions feed
Hot Network Questions
Implement an 8 bit adder
How to calculate the square root of a feature attribute?
Who represents Wil Wheaton in "Big Bang Theory"?
What does “bupke” mean?
If a program terminates and there is no one to see it, does it halt?
Avoiding DC voltage drop over long distances
Efficiency with strcpy, strcat and malloc
moving to a particular column in an empty line
Can a party function without a Cleric or Paladin?
Is the Spearman rank correlation matrix positive definite or not?
Is ~ considered like a relative path?
What is the average of no numbers?
What is the difference between building from source and using an install package?
As a postdoc, should I expect my PhD adviser to fund my conference travel to present my PhD work?
Define an infinite subset of primes such that the sum of reciprocals converges
BrainF***edBotsForBattling - A Brainf*** Tournament
Idiom for "just because you give something a different name, it doesn't change what it is"
Does the shield of an ADC go down faster?
Opposite of Nightmare?
Why do I get different outputs in case of sh and bash?
Using funny error messages in Finance
My authority over airspace above my land
What does the processor do while waiting for a main memory fetch
Launch A New Building
more hot questions
Life / Arts
Culture / Recreation
TeX - LaTeX
Unix & Linux
Ask Different (Apple)
Geographic Information Systems
Science Fiction & Fantasy
Seasoned Advice (cooking)
Personal Finance & Money
English Language & Usage
Mi Yodeya (Judaism)
Cross Validated (stats)
Theoretical Computer Science
Meta Stack Exchange
Stack Overflow Careers
site design / logo © 2014 stack exchange inc; user contributions licensed under
cc by-sa 3.0
Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.