Challenge the talent inside you, participate in Animate 2024!     Click here for details.

Arithmetic Comparison - English

4204 visits



Outline:

Bash comparison- Arithmetic comparison Arithmetic comparison -eq(equal to) -ne(not equal to) Demonstration of -eq and -ne with a word count program(Used: `wc -w`) -lt(lesser than) -le(lesser than or equal to) -gt(greater than) -ge(greater than or equal to) Demonstration of -lt,-gt, -ge and -le with a word count program(Used: `wc -c`)