Bash Arithmetic

suggest change

Syntax

Parameters

Parameter | Details |
—— | —— |
EXPRESSION | Expression to evaluate |

Remarks

With expr, a space is required between each term (or sign) of the expression. 1+2 will not work, but 1 + 2 will. $((1+2)) does not need those spaces.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents