Vidyalelo
Computer Science · Q1085

UNIX

Engineering and GATE · Computer Science · question 1085

Q1085

Which command will be used for selecting lines 3 to 10 from emp.lst?

A.
sed 3,10 emp.lst
B.
sed -n '3,10p' emp.lst
Answer
C.
sed -n '^,10p' emp.lst
D.
sed -n, 10p

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board