1.

We can use comparison operators without a ‘-‘.(a) True(b) FalseI have been asked this question during an interview.I want to ask this question from Using test and [ ] to Evaluate Expressions in chapter Essential Shell Programming of Unix

Answer»

Correct CHOICE is (b) False

Easiest EXPLANATION: Every numerical comparison operator used by the test BEGIN a hyphen, followed by a TWO letter string and enclosed by a WHITESPACE on either side.



Discussion

No Comment Found

Related InterviewSolutions