JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 32
Unix interview questions part 32
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which option is preferred while killing a process using SIGKILL signal (9)?
A. -p
B. -s
C. -h
D. -d
Show Correct Answer
Correct Answer is :
-s
2. Which of the followings command(s) is used to kill the login shell?
A. kill 0
B. kill -9 $$
C. kill -s KILL 0
D. kill -9 $$ and kill -s KILL 0
Show Correct Answer
Correct Answer is :
kill -9 $$ and kill -s KILL 0
3. Kill -l will list all the signal numbers on our machine.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
4. What is a job?
A. group of tasks
B. group of commands
C. group of processes
D. group of signals
Show Correct Answer
Correct Answer is :
group of processes
5. Which of the following command is used to suspend a job?
A. ctrl-Z
B. ctrl-Q
C. bg
D. $
Show Correct Answer
Correct Answer is :
ctrl-Z
6. Which command will push the current foreground job to the background?
A. bg
B. fg
C. ctrl-Z
D. kill
Show Correct Answer
Correct Answer is :
bg
7. ____ command will bring the background jobs to the foreground.
A. bg
B. fg
C. ctrl-Z
D. kill
Show Correct Answer
Correct Answer is :
fg
8. The command fg %1 will bring the first background job to the foreground.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
9. The command bg %2 is valid.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
10. What does the following command do? $ kill %2
A. kills job number 2
B. kills the second background job
C. invalid command
D. kill all foreground & background jobs
Show Correct Answer
Correct Answer is :
kills the second background job
11. Which of the following is not a part of job control facilities?
A. relate a job to the background
B. bring it back to the foreground
C. kill a job
D. create a new job
Show Correct Answer
Correct Answer is :
create a new job
12. POSIX shell provides job control facilities like bg or fg.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
13. Which command is used to list the status of jobs?
A. fg
B. JOBS
C. jobs
D. fg
Show Correct Answer
Correct Answer is :
jobs
14. We can schedule a job to run at a specified time of day using _______ command.
A. batch
B. at
C. cron
D. jobs
Show Correct Answer
Correct Answer is :
at
15. We can use the _____ symbol with at command to redirect our output to a specified file.
A. >
B. <
C. >>
D. %
Show Correct Answer
Correct Answer is :
>
16. Which of the following keyword is not supported by at command?
A. now
B. noon
C. tomorrow
D. evening
Show Correct Answer
Correct Answer is :
evening
17. Which one of the following forms used with at command is invalid?
A. at noon
B. at now +2 years
C. at 3:07 + 1 day
D. at morning
Show Correct Answer
Correct Answer is :
at morning
18. We can list the jobs queued using at command by using ____ option.
A. -p
B. -v
C. -l
D. -r
Show Correct Answer
Correct Answer is :
-l
19. To remove a job from the queue, which option is used with at command?
A. -r
B. -l
C. -e
D. -t
Show Correct Answer
Correct Answer is :
-r
20. We cannot find out the name of the program scheduled using at command.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs