Q.

Refer to the following example of sed

#sed -n ‘2, 5, p’ file1

What contents of the file1 will be selected and displayed ?

A only line 2 and 3 of the file1
B lines 2 through 5
C all lines except 2 and 5
D all lines except 2 through 5
Answer & Explanation
Option: [B]

Random GK Questions

A The absence of privileges
B Equal distribution of wealth
C Universal adult suffrage
D The rationality of the individual

View Answer

A Takala Makan
B Gobi
C Sahara
D Thar

View Answer

Your Valuable Comments Please...

Useful Computer Science EBooks