1) Which of following commands do not belong to multiple file editing commands
- :n!
- :q!
- :rnew!
- All the above
2) The difference between the commands ps –e and ps –a is
- Ps –e gives details of every process running in memory whereas ps –a gives output for all the process that you have launched
- Ps –e gives details of every process running in memory whereas ps –a gives details of all user processes
- No difference , both give same output
- None of the above
3) The father of all processes is
- Root
- Sh
- Sched
- Init
4) The process id numbers of the processes vhand,bdflush,sched and init are
- 1,2,3 and 4
- 2,3,0 and 1
- 3,4,1 and 2
- 0,1,2 and 3
5) Which of the following is not true regarding the command $ nohup cat *.let | nohup sort >f1 &
- The process would die if the user logs out before the command’s execution is over
- If the user logs out the output of sort would be dtored in a file nohup.out
- It is optional to give nohup before sort
- This background process is also known as a deamon process
6) Which of the following is not true regards the kill command
- Super user can kill deamon processes
- For sure kill the signal no is 9
- There is no surety that the shell process will get killed by the command kill <PID of shell process>
- Using Kill command you can kill other user’s processes too
7) Which of the following is not true
- The at command permits you to receive messages only by mail
- A person’s login name appears in the file at.allow if he is not allowed to use the at command
- Both are false
- Both are true
8) Which statement are true if the file which contains the following line is submitted to the crontab command
10 2 3 * 0 echo “ There is no substitute for hard work”
a.The message is echoed on the 3rd of every month at 2.10 a.m
b.The message is echoed on the 3rd of every month at 2.10 p.m
c.The message is echoed on the 3rd of every month at 2.10 a.m if it happens to be a Sunday
- None of the above
9) For a person to receive messages he should have his terminal set to a parameter which will allow him receive messages.The command to set this parameter is
a.message –on
b.msg –o
c.mesg –y
d.message–y
10) The command that unix offers to a user to find out whether he can send messages to a particular terminal are
a.finger and who
b.finger –mesg and who –T
c.finger –I and who –t
d.finger –I and who –T
—
Correct Answers
- D
- B
- C
- B
- A, D
- A, D
- C
- C
- C
- D