linux bash multiply code example Example: multiply command bash a=2 b=3 multiplication=$( bc -l <<<"$a*$b" )