Results 1 to 4 of 4
Thread: bash calc
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2006
expr 1 + 1
bash does not have builtin math functions like python or perl
You could potentially use a sort of built-in Bash utility:
echo $[1 + 1]
Also, you can install commandline calculators. I personally am fond of Qalculate!: there is a CLI version that you get when you install the GUI version.
anyway i dont have to make any calculations (i was just curious);