How to replace the exact word in vi editor??
suppose a file contains words like amaze,amazed,amazement in
some of the line.But i want to replace only 'amaze' with
delight but don't wanna replace amazed or amazement.
thanks
Answer Posted / chandra babu.p
s/string/string/g;
ex;
:s/unix/linux/g
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What does the md command do?
What are reported commands?
What is the first character of the output in ls l command?
Who wrote grep?
What is the size of time_t?
What is s and g in sed command?
Name the various commands that are used for the user information in unix.
How do I clear my terminal history?
What does the “echo” command do?
What does grep v grep do?
How do I use nslookup?
What is the use of the command 'ls -x chapter[1-5]' ?
Name the general commands in using unix os for a beginner?
Why is shebang used?
What are filter commands in unix?