Linux Terminal Glossary
›
Bash Scripting
echo $(( 10 % 3 ))
Category:
Bash Scripting
echo $(( 10 % 3 ))
Copy command
Calculate modulo using arithmetic expansion
Calculates the remainder (modulo) of 10 ÷ 3 = 1, using arithmetic expansion.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.