Arithmetic Comparison

By
Spoken Tutorial & FOSSEE Team ; IIT Bombay
(2013-10-09)

Video

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`) . Pre-requisite: Logical Operators

Published by:

Spoken Tutorial IIT Bombay

DOER Persistent Identifier: http://doer.col.org/handle/123456789/8289