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

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]

Your Valuable Comments Please...

Useful Computer Science EBooks