Online GK Series

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


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]

Your Valuable Comments Please...

Please Like Us