multiply in shell script code example
Example: how make a multiplication whith expr
#!/bin/bash
echo
# Multiplication Example
# ---------- ---------
echo "Multiplication Example"
echo
m=`expr 5 \* 3`
echo "5 * 3 = $m"
#!/bin/bash
echo
# Multiplication Example
# ---------- ---------
echo "Multiplication Example"
echo
m=`expr 5 \* 3`
echo "5 * 3 = $m"