Unix Interview Questions - 26 | Snaprecruit.com
Unix Interview Questions - 26 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Unix interview questions part 26
Unix interview questions part 26
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which of the following shell doesn’t support ! symbol for negating the character class?
A. bash
B. bash
C. POSIX
D. C
Show Correct Answer
Correct Answer is :
C
2. The command cd * will work.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
3. Providing a backslash (\) before the wild card to remove its special meaning is called _____
A. escaping
B. quoting
C. listing
D. pattern matching
Show Correct Answer
Correct Answer is :
escaping
4. Enclosing the wild card or the entire pattern within quotes is called ___
A. escaping
B. quoting
C. listing
D. pattern matching
Show Correct Answer
Correct Answer is :
quoting
5. To remove the file named my document.txt, which one of the following commands will be used?
A. rm my\ document.txt
B. rm my document.txt
C. rm *
D. rm my_document.txt
Show Correct Answer
Correct Answer is :
rm my\ document.txt
6. We can escape the \ itself using escaping.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
7. For escaping the newline character we can use ____
A. /
B. \
C. ?
D. \n
Show Correct Answer
Correct Answer is :
\
8. The output of the following command is ______________ $ echo ‘The special character $ echo hello and | ls chap*’
A. undefined output
B. erroneous
C. hello
D. The special character $ echo hello and | ls chap*
Show Correct Answer
Correct Answer is :
The special character $ echo hello and | ls chap*
9. Double quotes are more permissive than single quotes and allow the evaluation of the $ and ` itself.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
10. Which of the following command will remove the file named * ?
A. rm *
B. rm ‘*’
C. rm \*
D. rm ‘*’ and rm \*
Show Correct Answer
Correct Answer is :
rm ‘*’ and rm \*
11. Which of the following resources are required to be managed and monitored?
A. CPU time
B. I/O time
C. Disk space
D. CPU time, I/O time, disk space
Show Correct Answer
Correct Answer is :
CPU time, I/O time, disk space
12. System time comprises ____ components.
A. 5
B. 4
C. 3
D. 8
Show Correct Answer
Correct Answer is :
5
13. Which command is used to display all the running and active real-time processes?
A. tp
B. top
C. vmstat
D. lsof
Show Correct Answer
Correct Answer is :
top
14. ____ command displays the list of all open files and processes.
A. top
B. lsof
C. vmstat
D. pipe
Show Correct Answer
Correct Answer is :
lsof
15. ____ is a simple tool that will collect and show system input and output storage device statistics.
A. top
B. lsof
C. vmstat
D. Iostat
Show Correct Answer
Correct Answer is :
Iostat
16. sar is a command line tool for collecting, viewing and recording performance data.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
17. To override the default action and catch the signal ____ system call is used.
A. sig
B. SIGKILL
C. signal
D. SIGINT
Show Correct Answer
Correct Answer is :
signal
18. Which of the following functions can be performed using signal system call?
A. ignore the signal
B. restore the default
C. invoke a signal handling function
D. ignore the signal, restore the default and invoke a signal handling function
Show Correct Answer
Correct Answer is :
ignore the signal, restore the default and invoke a signal handling function
19. Which of the following signals can neither be ignored nor catch?
A. SIGKILL
B. SIGSTOP
C. SIGKILL and SIGSTOP
D. SIGALR
Show Correct Answer
Correct Answer is :
SIGKILL and SIGSTOP
20. Which one of the following is the most powerful filter?
A. awk
B. grep
C. sed
D. perl
Show Correct Answer
Correct Answer is :
perl
Similar Interview Questions
Search for latest jobs
Find Jobs