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 / majeed
First open the file by using vi editor and then
use this :%s /amaze/delight/g
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the behavioural difference between cmp and diff commands?
hw will u use awk in replacing cahrs and files
What is in grep command?
What is the significance of the 'tee' command?
How do I use grep to search for a file?
How do I use grep to find a file?
Which command is used to find whether the system is 32 bit or 64 bit?
What is command statement?
What do know about tee command and its usage?
What does pipe () return?
What is the comma to show the space allocation of files?
What is sed awk grep?
Which command is used to copy files?
What's a command word?
What are file commands?