☰
GkSeries.com
āœ•

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]