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
Using unix command how to display no of records in oracle?
What is grep in bash?
What is .sh file?
What is the command to compare two files in unix?
What is awk good for?
What is grep r?
Name the various commands that are used for the user information in unix.
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Can you explain a little bit about command substitution?
What is unix command?
What command will change your prompt to myprompt?
What is the nmap command?
What does sed command do in unix?
What is the use of find command in unix?
What is ‘ps’ command for?