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