Mathematical Operators in shell script
by Nirmala[ Edit ] 2010-01-27 14:39:35
Mathematical Operator in Shell Script
Operators Meaning
-eq is equal to
-ne is not equal to
-lt is less than
-le is less than or equal to
-gt is greater than
-ge is greater than or equal to
NOTE: == is equal, != is not equal.