Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash compare numbers

-eq # Equal
-ne # Not equal
-lt # Less than
-le # Less than or equal
-gt # Greater than
-ge # Greater than or equal
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #compare #numbers
ADD COMMENT
Topic
Name
3+3 =