The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
res1=`/my/command1`
res2=`/my/command2`
if [ "$res1" = "$res2" ]
then
echo match
else
echo failed
fi