Bash

Arithmetic

#!/bin/sh
#
# starlits
 
# -lt : less than
# -le : less than or equal
# -eq : equal
# -ge : greater than or equal
# -gt : greater than
# -ne : not equal
arithmetic() {
if [ 10 -lt 5 ] ; then
    echo "TURE : 10 < 5"
else
    echo "FALSE : 10 < 5"
fi
}
arithmetic