#!/bin/bash a=$1 b=$2 gcd=$(./script1.sh $a $b) lcm=$((a * b / gcd)) echo $lcm