Top 80+ Solved Unix Operating System MCQ Questions Answer
Q. Which of following commands do not belong to multiple file editing commands
a. :n!
b. :q!
c. :rnew!
d. all the above
Q. The difference between the commands ps –e and ps –a is
a. ps –e gives details of every process running in memory whereas ps –a gives output for all the process that you have launched
b. ps –e gives details of every process running in memory whereas ps –a gives details of all user processes
c. no difference , both give same output
d. none of the above
Q. The process id numbers of the processes vhand,bdflush,sched and init are
a. 1,2,3 and 4
b. 2,3,0 and 1
c. 3,4,1 and 2
d. 0,1,2 and 3
Q. Which of the following is not true regarding the command $ nohup cat *.let | nohup sort >f1 &
a. the process would die if the user logs out before the command’s execution is over
b. if the user logs out the output of sort would be dtored in a file nohup.out
c. it is optional to give nohup before sort
d. this background process is also known as a deamon process
Q. Which of the following is not true regards the kill command
a. super user can kill deamon processes
b. for sure kill the signal no is 9
c. there is no surety that the shell process will get killed by the command kill
d. using kill command you can kill other user’s processes too
Q. Which of the following is not true
a. the at command permits you to receive messages only by mail
b. a person’s login name appears in the file at.allow if he is not allowed to use the at command
c. both are false
d. both are true
Q. 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
Q. 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
Q. If the user has read a news item he cannot read it again because of creation of the file
a. _news_time
b. news.time
c. .news.time
d. .news_time
Q. To read the stale news the option available is
a. news –a
b. delete the file /usr/news
c. delete the file _news.time
d. delete the file .news_time
Q. The message of the day is stored in a file called
a. /etc/profile
b. /etc/motv
c. .profile
d. autoexec.bat
Q. The incoming mail of user with the login name aa12 is stored in the file
a. /usr/spool/mail/aa12
b. /usr/aa12/mbox
c. /spool/mail/aa12
d. /usr/aa12/.mbox
Q. .mailrc is the file
a. which stores the incoming mail
b. which is used to type the mail to be sent
c. which is invoked when the mail command is executed
d. which permits you to customize the vi environment
Q. The escape sequence \033[4m is used to
a. underlying characters
b. mark them as bold
c. display them in reverse video
d. none of the above