1) If the user has read a news item he cannot read it again because of creation of the file
- _news_time
- news.time
- .news.time
- .news_time
2) To read the stale news the option available is
- news –a
- Delete the file /usr/news
- Delete the file _news.time
- Delete the file .news_time
3) The message of the day is stored in a file called
- /etc/profile
- /etc/motv
- .profile
- Autoexec.bat
4) The incoming mail of user with the login name aa12 is stored in the file
- /usr/spool/mail/aa12
- /usr/aa12/mbox
- /spool/mail/aa12
- /usr/aa12/.mbox
5) .mailrc is the file
- Which stores the incoming mail
- Which is used to type the mail to be sent
- Which is invoked when the mail command is executed
- Which permits you to customize the vi environment
6) The escape sequence \033[4m is used to
- underlying characters
- mark them as bold
- display them in reverse video
- none of the above
7) Which of the following assignments is illegal
- a=’ls’
- b=’ls –l’
- c=’1972’
- d=’who | grepaal’
8) Which of the following assignment is illegal
- a=’cat file’
- a=100 b=50
- age=25
- all the above
9) A null variable a can be created using
- a=
- a=’’
- a=””
- All the above
10) The shell metacharacter $# represents
- Total number of arguments supplied to the shell script
- Total number of files in the current directory
- Total number of users who have logged in
- Total number of processes running in the background
Correct Answers
- D
- A & D
- B
- A
- C
- B
- C
- C
- D
- A