-eq # Equal
-ne # Not equal
-lt # Less than
-le # Less than or equal
-gt # Greater than
-ge # Greater than or equal
bash if greater thanShell/Bash By Me (Armandres) on Feb 18 2021 DonateDeleteEdit
if (( a > b )); then
...
fi
#Use above example or below one:
if [ "$a" -gt "$b" ]; then
...
fi