Which of the following operator is used for less than comparison in Linux? (a) < (b) lessthan (c) lt (d) -lt
Answers
Answered by
6
operator is used for less than comparison in Linux is <
Answered by
7
"Option (d) -lt.
-lt operator is used for less than comparison in Linux. This operator checks whether the value of the left operand is less than the provided right hand operand. If the return value is yes, the condition becomes true. Else it returns false. For example, the expression can be given as [ $value1 -lt $value2 ] if left side operand value1 is less than the right side operand then the return value is true, else the condition becomes false."
Similar questions
Social Sciences,
8 months ago
English,
8 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago