JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 43
Unix interview questions part 43
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which of the following operators is used with test for comparison of numeric values?
A. -eq
B. -ne
C. -gg
D. –eq and -ne
Show Correct Answer
Correct Answer is :
–eq and -ne
2. Which of the following operators is used with test for comparison of numeric values?
A. -eq
B. -ne
C. -gg
D. –eq and -ne
Show Correct Answer
Correct Answer is :
–eq and -ne
3. We can use comparison operators without a ‘-‘.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
4. We can use comparison operators without a ‘-‘.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
5. ___ implies greater than and ____ implies less than.
A. gt, le
B. gt, lt
C. ge,le
D. ge,lt
Show Correct Answer
Correct Answer is :
gt, lt
6. ___ implies greater than and ____ implies less than.
A. gt, le
B. gt, lt
C. ge,le
D. ge,lt
Show Correct Answer
Correct Answer is :
gt, lt
7. Which of the following operator is used as a shorthand for test?
A. % %
B. [ ]
C. & &
D. ( )
Show Correct Answer
Correct Answer is :
[ ]
8. Which of the following operator is used as a shorthand for test?
A. % %
B. [ ]
C. & &
D. ( )
Show Correct Answer
Correct Answer is :
[ ]
9. It is essential to use whitespaces when we use [].
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
10. It is essential to use whitespaces when we use [].
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
11. test and [ ] can be used for string comparison.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
12. test and [ ] can be used for string comparison.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
13. Which one of the following option is used for AND operation in test command?
A. -o
B. -a
C. -e
D. -an
Show Correct Answer
Correct Answer is :
-a
14. Which one of the following option is used for AND operation in test command?
A. -o
B. -a
C. -e
D. -an
Show Correct Answer
Correct Answer is :
-a
15. Which one of the following option is used for OR operation in test command?
A. -o
B. -a
C. -e
D. -an
Show Correct Answer
Correct Answer is :
-o
16. Which one of the following option is used for OR operation in test command?
A. -o
B. -a
C. -e
D. -an
Show Correct Answer
Correct Answer is :
-o
17. Which one of the following option is used for checking that the string is not null?
A. -a
B. -o
C. -z
D. -n
Show Correct Answer
Correct Answer is :
-n
18. Which one of the following option is used for checking that the string is not null?
A. -a
B. -o
C. -z
D. -n
Show Correct Answer
Correct Answer is :
-n
19. Which one of the following option is used for checking that the string is NULL string?
A. -a
B. -o
C. -z
D. -n
Show Correct Answer
Correct Answer is :
-z
20. We can use a test to test various file attributes.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs