bash arithmetic operations symbols code example Example: arithmetic operation in bash #!/bin/bash x=5 y=10 ans=$(( x + y )) echo "$x + $y = $ans"