Interger Expressions Flashcards
1
Q
interger1 -eq interger2
A
interger1 is equal to interger2
2
Q
interger1 -ne interger2
A
interger1 is not equal to interger2
3
Q
interger1 -le interger2
A
interger1 is less than or equal to interger2
4
Q
interger1 -lt interger2
A
interger1 is less than interger2
5
Q
interger1 -ge interger2
A
interger1 is greater than or equal to interger2
6
Q
interger1 -gt interger2
A
interger1 is greater than interger2
7
Q
What is a modulo:
A
int % 2 (Divides the number by 2 and returns the remainder)
8
Q
A