Computer Science, asked by TbiaSamishta, 1 year ago

Which of the following operator is used for less than comparison in Linux? (a) < (b) lessthan (c) lt (d) -lt

Answers

Answered by hammadou
6

operator is used for less than comparison in Linux is <

Answered by Secondman
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