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 bashrc questions feed
Hot Network Questions
Generator Servent with Nemesis of Mortals
Is the accountant Weasley cousin an abandoned plot thread?
Should I get cash from credit card at 0% for 8 months and put it on loans?
How to make it obvious that an option is unavailable, and can be deleted?
Find out what 'apt-get install' did
How do I get the card back for beating Heroic mode in the Curse of Naxxramas?
set tab width for less output
Integrate a division of polynomials
Speed of curated data calls in Version 10
How to translate "He's not as young now as he was then"?
Does magic armor automatically resize?
The meaning of "shooting" in this sentence "Here's the HTML we're shooting to generate"
Why don't we indicate the variable to summed as we do for integrals?
Indentation of my list of equations
Do I have to create vector files at the correct print size?
Should I accept an invitation to give a talk on dated work?
Figuring out how many megabytes go into gigabytes?
Does sneak attack class feature apply for ranged touch attacks?
How to decline participation in team building activities
What is the opposite of an Epiphany?
How do you coat perfectly round truffles with melted chocolate?
Why don't methods of structs have to be declared in C++?
Should the commit history be used to convey critical information to developers?
Theory question about "j" imaginary unit (AC circuit analysis)
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.