Which of the following is not a valid command?
(a) : .,$w file002
(b) :w 1,$ file002
(c) : .w file002
(d) : $w file002
I had been asked this question in an online interview.
This intriguing question comes from Vi-Ex Mode topic in section The Vi Editor of Unix