Vidyalelo
Computer Science · Q570

UNIX

Engineering and GATE · Computer Science · question 570

Q570

Which one of the following command will be used for quitting after selecting 3 lines from file emp.lst?

A.
sed -n 3 emp.lst
B.
sed -i 1-3 emp.lst
C.
sed '3q' emp.lst
Answer
D.
sed -n

Answer: Option C

Solution

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