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
(d) : 1,4w file002
This question was posed to me by my college director while I was bunking the class.
My question comes from Vi-Ex Mode topic in portion The Vi Editor of Unix