GkSeries.com

Unix Multiple Choice Interview Questions and Answers | Page-6

(26) Command 1 || Command 2 means
[A] execute command 2 if command 1 is successful
[B] execute either command 1 or command 2
[C] execute command 2 if command 1 is unsuccessful
[D] none of the above

Comment

Answer: Option [C]
(27) The default shell in UNIX OS is
[A] ksh
[B] sh
[C] csh
[D] bsh

Comment

Answer: Option [D]
(28) The ‘pipe’ system call in UNIX is used to:
[A] create a duplicate of a file
[B] create a named pipe
[C] create an unnamed pipe
[D] none of these

Comment

Answer: Option [B]
(29) The number of default files open for every program when it starts is :
[A] 2
[B] 4
[C] 6
[D] none of these

Comment

Answer: Option [A]
(30) The command ‘Sa.out 2>output’ redirects
[A] standard error file
[B] standard input file
[C] standard output file
[D] none of these

Comment

Answer: Option [A]
Click Here to Read more questions