Editors Question:
Download Job Interview Questions and Answers PDF
How to replace String "a" with String "b" in whole file of the vi editor?
Answer:
:g/string1/s//string2/g
ex:
:g/a/s//b/g
ex:
:g/a/s//b/g
Download Editors Interview Questions And Answers
PDF
Previous Question | Next Question |
What does the /text command do? | What are the different commands used to quit from the vi editor? |