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