Arithmetic Comparison - English

1801 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`)