Here is an example bash shell script that demonstrates how to do division.
#!/bin/bash x=10 y=2 sum=$((x / y)) echo $sum
Running this script should produce the following (the sum of 10 / 2).
5