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 / ahmed
sed 's/amaze/amazing/g' filename.txt
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
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)?
What is nr in awk command?
What do know about tee command and its usage?
What is the use of the tee command?
What is ctrl d?
What is $0 bash?
What is updatedb?
What is the functionality of a top command?
What do chown command do?
What do chmod, chown, chgrp commands do?
What is grep short for?
What happens when we execute a unix command?
What are the commands in UNIX to list the files in a Directory?
What does the md command do?
What is unix command?