Vidyalelo
Computer Science · Q1041

UNIX

Engineering and GATE · Computer Science · question 1041

Q1041

Which of the following command will be used to write the 4th line to file named file002?

A.
: 1,40w file002
B.
: 1,$w file002
C.
: 4w file002
Answer
D.
: 1,4w file002

Answer: Option C

Solution

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