1. Which of the following operators is used with test for comparison of numeric values?
Correct Answer is : –eq and -ne
2. Which of the following operators is used with test for comparison of numeric values?
Correct Answer is : –eq and -ne
3. We can use comparison operators without a ‘-‘.
Correct Answer is : FALSE
4. We can use comparison operators without a ‘-‘.
Correct Answer is : FALSE
5. ___ implies greater than and ____ implies less than.
Correct Answer is : gt, lt
6. ___ implies greater than and ____ implies less than.
Correct Answer is : gt, lt
7. Which of the following operator is used as a shorthand for test?
8. Which of the following operator is used as a shorthand for test?
9. It is essential to use whitespaces when we use [].
10. It is essential to use whitespaces when we use [].
11. test and [ ] can be used for string comparison.
12. test and [ ] can be used for string comparison.
13. Which one of the following option is used for AND operation in test command?
14. Which one of the following option is used for AND operation in test command?
15. Which one of the following option is used for OR operation in test command?
16. Which one of the following option is used for OR operation in test command?
17. Which one of the following option is used for checking that the string is not null?
18. Which one of the following option is used for checking that the string is not null?
19. Which one of the following option is used for checking that the string is NULL string?
20. We can use a test to test various file attributes.