Hello,
i would like this loop to check some variable and if its greater than some number it will wait untill its lower.
this while can be used:
Code:while [ "$value" -gt "$value2" ];do $value2=$(...get_value2_command_here...) sleep 1 done
How it should look like if i want to stop this while and continue executing rest of the script if $value2 not become smaller than $value in like 5 minutes or in like 100 loops?
Please anyone can share how it should look like?