Computer Science, asked by kriz4527, 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 smarazazaidi
3

Answer:

Option (d) -lt is correct answer

Explanation:

In Linux, some special type of commands, arguments and expressions is used to evaluate some result. Similarly, for seek of comparison some commands are use. -lt expression is used in the place of less than in Linux. When integer1 is less than integer2 then, (-lt) this expression will use.

Answered by smartbrainz
3

'-lt ' is used for less than comparison in Linux.

Option (d)

Explanation:

  • The Linux operator -lt examines if the 'value of the left side operand' is less than the 'value of right side operand'; if yes, then the condition becomes true.
  • 'Bourne Shell' supports the 'relational operators' that are unique to 'numeric values'. Such operators will not function for string values unless their value is numeric.
  • It is very important to understand that all 'conditional expressions' should be put within 'square bracelets' with spaces around them.

To know more

Write a short note on linux

https://brainly.in/question/710848

Define Linux?

Topic: Operating System

https://brainly.in/question/6419666

Similar questions