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 are some command words?
Is ‘du’ a command? If so, what is its use?
What is the pipe command?
What command will change your prompt to myprompt?
What is the unix command to confirm a remote host is alive or not?
What is a command and examples?
What is the use of the command 'ls -x chapter[1-5]' ?
Which command is used to create a directory?
What is the nmap command?
What does awk stand for?
what is the advaantage of each user having its own copy of the shell?
What is difference between grep and find command in unix?
Are you in or at the office?
What do chmod, chown, chgrp commands do?
What is time_t?