How to replace String "a" with String "b" in whole file of
the vi editor?

Answer Posted / debjyoti mukherjee

:g/string1/s//string2/g

ex:
:g/a/s//b/g

Is This Answer Correct ?    45 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOW WE CAN MAKE THE DLIEVERY WHICH IS BLOCKED DUE TO CREDIT LIMIT.

2467


what is the command used to append to buffer?

2156