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 function bc questions feed
Hot Network Questions
Is the Litecoin Scrypt hashing technique a threat to hashed passwords?
Project Manager asks for complete 100% confidence everytime committing code
How to change one thing to change all
ALL CAPITAL Roman Numeral Chapter Style. How?
Why do we use so complicated notation?
Why did Dumbledore put student's life in danger by not removing vanishing cabinet from Room of Requirement?
Combination of \pm and \EUR
Finding differences between Pi with varying number of decimals
Is there a secular, non vulgar alternative to "for heaven's sake"?
apt-get update not working
Finding the roots of the sum of complex numbers
Simple Hello World with unit tests
What? No error?
Nazism and Jewish persecution awareness during the WW2 years
Shortest code to print ':)' random times
Why is "distro", rather than "distri", short for "distribution" in Linux world?
What's the inspiration for the owlbear?
What should I do about the discovery that a manager is not flushing the workplace toilet after use?
On Pudlak's "Life in an Inconsistent World"
What happens if you don't "collect" an Oyster top-up or transfer in time?
How do the streetcars in Toronto draw power from the lines?
Why did this aircraft re-route?
How to draw an arrow with a different head?
Allocation Between 401K and Taxable Investments as a Young Adult
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.