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
Name the general commands in using unix os for a beginner?
What is the use of find command in unix?
Who invented grep?
Explain ‘system calls’ with respect to unix commands?
Why is shebang used?
What will the following command do?
What is in grep command?
What is merge command in unix?
What is a bash command?
hw will u use awk in replacing cahrs and files
what is the advaantage of each user having its own copy of the shell?
Which command is used to delete all files in the current directory and all its sub-directories?
What are bash commands?
How to display no of records in oracle using unix command?
why metadb requires a seperate slice to create Solaris volume manager