Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Get Attractive Job

Unix Multiple Choice Interview Questions and Answers | Page-6

Questions
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

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

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

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

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

Answer: Option [A]

Useful Computer Science EBooks