Linux Terminal Glossary
›
Bash Scripting
NUM=$(( 5 + 3 ))
Category:
Bash Scripting
NUM=$(( 5 + 3 ))
Copy command
Perform arithmetic and store result
Performs arithmetic. $(( )) is bash's arithmetic expansion; the result is stored in NUM.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.