Arithmetic Comparison - English
BASH Tutorials - English 23
-
1Introduction to BASH Shell Scripting
-
2Basics of Shell Scripting
-
3Command Line arguments and Quoting
-
4Globbing and Export statement
-
5Array Operations in BASH
-
6More on Arrays
-
7Conditional execution
-
8Nested and multilevel if elsif statements
-
9Logical Operators
-
Arithmetic Comparison
-
11String and File attributes
-
12Conditional Loops
-
13More on Loops
-
14Case statement
-
15Using File Descriptors
-
16Basics of functions
-
17More on functions
-
18Arrays and functions
-
19Advance topics in a function
-
20Recursive function
-
21Basics of Redirection (error handling)
-
22More on Redirection
-
23Here document and Here string
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`)