How can I copy the numeric value in a variable to another variable in bash script. If this were C, I would do
int a=0;
int b;
a=b;
I am trying to do this:
if [ $countip -gt $totalip ];
then
$countip -eq $srctip # <-- My problem is here!
echo $srctip
fi