bash if greater than or equal code example
Example: bash if greater than
if (( a > b )); then
...
fi
#Use above example or below one:
if [ "$a" -gt "$b" ]; then
...
fi
if (( a > b )); then
...
fi
#Use above example or below one:
if [ "$a" -gt "$b" ]; then
...
fi