Arithmetic Expressions
The let built-in command performs integer arithmetic. You can substitute arithmetic values (for use as command arguments or in variables); base conversion is also possible.
Expression | Meaning |
---|---|
$(( | Use the value of the enclosed arithmetic expression. |
| Interpret integer
|
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.