How to replace text using VI editor
Hello everybody,
I want to replace text using VI and I know to replace a single word like : :%s/oracle/prod/g This will replace the word oracle with prod. Now, I am trying to replace /oracle/oracle with /Courseware/ora9i. How could I achieve this ? Thanks and Regards AJAZ |
Code:
:%s/\/oracle\/oracle/\/Courseware\/ora9i/g |
You can also learn to use vim by typing "vim tutor" in a terminal to take a 20-30 minute crash course.
|
All times are GMT -5. The time now is 05:22 PM. |