Hi, I am new in shell script and I road this script, but it does not give the output I want.
The output show look like this:
Instance on fac1 inst1 instance
Instance on fac2 inst2 instance
Instance on fac3 inst3 instance
Here is the script:
INSTID="inst1 inst2 inst3"
FANCID="fac1 fac2 fac3"
for instid in $INSTID
do
echo ""
done
for fancid in $FANCID
do
echo "Instance on ${fancid} ${instid} instance"
done
exit 0
thx savage1