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]

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Article and Schedule Quiz Start Test!
(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]

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!