1.

Which one of the following option is used for OR operation in test command?(a) -o(b) -a(c) -e(d) -anThis question was addressed to me in my homework.I'm obligated to ask this question of Using test and [ ] to Evaluate Expressions topic in chapter Essential Shell Programming of Unix

Answer»

Correct choice is (a) -o

For explanation I would say: TEST ALSO permits the CHECKING of more than one condition in the same line using -o (OR) operator. For example,



Discussion

No Comment Found

Related InterviewSolutions