SoFunction
Updated on 2025-03-10

A brief summary of the size and size in the Shell


#!/bin/bash
if [ $1 -gt $2 ]
then echo "$1>$2"
else echo "$2>$1"
fi
# Some commands for numerical judgment
#-gt means greater than
#-lt is less than
#-eq is equal to
#-ne is not equal to
#-ge is greater than or equal to
#le is less than or equal to