How to replace String "a" with String "b" in whole file of the vi editor?
Submitted by: Administrator:g/string1/s//string2/g
ex:
:g/a/s//b/g
Submitted by: Administrator
ex:
:g/a/s//b/g
Submitted by: Administrator
Read Online Editors Job Interview Questions And Answers
Top Editors Questions
☺ | What is the difference between lettered buffer and temporary buffer? |
☺ | What does the c$ command do from command mode? |
☺ | How to append a file to current file? |
☺ | What are the two different modes in vi editor? |
☺ | What is the command used to append text after current line? |
Top Computer Editor Categories
☺ | Vi Editor Interview Questions. |
☺ | Editors Interview Questions. |
☺ | Visual Studio IDE Interview Questions. |