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 arithmetic function questions feed
Hot Network Questions
Help me prove that my pickup technique for women is statistically valid
Bash Script to repeat every word in a line?
Can Superman die from massive blood loss?
Project Manager asks for complete 100% confidence everytime committing code
How to tell an over-confident student they still have a lot to learn?
How can I set footnotes' numbers as superscript in a French report?
What does “sign the final flourish” mean?
What do rodents do?
Keep baby from touching his dirty penis
How to politely communicate that I really can learn well only if I do it myself?
How could Rabbi Shimon bar Yochai eat from the carob tree?
Can humans eat grass?
Why don't aeroplanes automatically put out engine fires?
Error in C#: "an expression tree may not contain a base access" - why not?
Transform big number into scientific format
What exactly are fractals
Nontrivial upper bounds on proof-theoretic ordinals of strong theories: do we have any?
Why was King Shaul commanded to kill all the animals of Amalek?
Why "ls" doesnt show the file that "find" discovered ?
How to locate source code that implemented a certain feture?
Is it appropriate for an employer to ask skilled professionals to do manual labor?
Why do we use so complicated notation?
Removing specific strings from file
Group memberships and setuid/setgid processes
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 Overflow
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.