how to multiply something in bash script code example Example: multiply command bash a=2 b=3 multiplication=$( bc -l <<<"$a*$b" )