Classical

Unix - Filters and Commands

76:  

The desirable features of a new shell script you write is that

A.

It should take its input from stdin

B.

It does some cleaning up operation, on termination

C.

It should not accept command line arguments

D.

Both (a) & (b)

 
 

Option: D

Explanation :


77:  

Which of the following shell commands displays the contents of each of the command line arguments one by one

A.

cat $•

B.

cat "$@"

C.

Both (a) & (b) 

D.

cat "$•"

 
 

Option: C

Explanation :


78:  

 The disadvantage of a pipe is that

A.

It is a one way communication channel

B.

It dies along with the process that created it

C.

It can't he shared by unrelated processes

D.

All of these

 
 

Option: D

Explanation :


79:  

The state of signals are

A.

preserved across a fork call

B.

not preserved across an exec call

C.

preserved across an exec call

D.

Both (a) & (b)

 
 

Option: D

Explanation :


80:  

Which of the following options for the shell command test should be followed by the file descriptor"'

A.

r

B.

d

C.

The data type of all fields in all file

D.

s

 
 

Option: C

Explanation :




Suggest an improvement