Unix Multiple Choice Interview Questions and Answers | Page-4

16 The shell metacharacter $# represents
A Total number of users who have logged in
B Total number of processes running in the background
C Total number of arguments supplied to the shell script
D Total number of files in the current directory

Answer: Option [C]
17 To delete 5 lines from a file and copy them to a buffer named x you would use the command
A “d5xd
B “5xdd
C “dd5x
D “x5dd

Answer: Option [D]
18 Which of the following commands DO NOT belong to multiple file editing ?
A :n!
B :q!
C :rew!
D all of these

Answer: Option [D]
19 To search a pattern which starts with uni, the command is :
A .∧<uni
B <uni
C <uni>
D None of the above

Answer: Option [A]
20 Which of the following is a popular terminal emulation of software
A Perl
C VT100

Answer: Option [C]