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 / kranthi kumar
:1,$s/amaze$/amazing/g
this will be changed only amaze in totalvi editor....
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What does the command '$ls | wc –l > file1' do?
Why is it called grep?
What's a command word?
How do I run a bash script?
hw will u use awk in replacing cahrs and files
What happens when we execute a unix command?
What does pipe () return?
Is grep faster than awk?
What is “chmod” command?
What are awk commands?
Enumerate some of the most commonly used network commands in unix?
Who command in unix operating system?
What is in grep command?
What are the dos commands?
Which command is used to delete all files in the current directory and all its sub-directories?