1.

It is essential to use whitespaces when we use [].(a) True(b) FalseI had been asked this question in my homework.My query is from Using test and [ ] to Evaluate Expressions in portion Essential Shell Programming of Unix

Answer»

Correct choice is (a) True

To EXPLAIN I would say: We must provide whitespaces AROUND the operators (LIKE -eq), their operands (like $x) and inside the [ and ].



Discussion

No Comment Found

Related InterviewSolutions