R.A.P R.A.P - 5 months ago 25
Linux Question

How can search and replace words but with confirmation using vi

I am having a training about the fundamentals of Unix/Linux in AT&T and we have an activity in Shell Procedures in Searching and Replacing. I have a text document that i opened in VI editor and i want to search and replace words but with each word there should be a confirmation if i will be replacing the word. How would i probobly do that with "/"?

Answer Source

The option c for confirm can be used.