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 is the nmap command?
What is merge command in unix?
What are the unix commands?
How does pipe () work?
Explain command to show the space allocation of files?
What does pipe () return?
What are the commands in UNIX to list the files in a Directory?
Explain ‘library functions’ with respect to unix commands?
How do I open a port?
Name the various commands that are used for the user information in unix.
What is the use of awk command in unix?
What do chmod, chown, chgrp commands do?
Explain ‘system calls’ with respect to unix commands?
What does #!/ Bin sh do?
Using unix command how to display no of records in oracle?