Results 1 to 4 of 4
ok if i write 1+1 in prompz i get error message....is possible to use "calculator" in bash (like in python shell)...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-07-2006 #1
- 11-07-2006 #2
- Join Date
- Nov 2006
expr 1 + 1
bash does not have builtin math functions like python or perl
- 11-08-2006 #3
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.
- 11-09-2006 #4
anyway i dont have to make any calculations (i was just curious);